Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002754/0.002754, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002971/0.002971, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.99/2.99, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.593e-05, allocations: 3.906 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002092/0.002128, allocations: 0.7717 MB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004075, allocations: 1.276 MB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.004134, allocations: 5.406 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.004172, allocations: 7.875 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.004261, allocations: 15.8 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009304/0.005191, allocations: 250 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.005555, allocations: 255.6 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.005702, allocations: 41.22 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.005926, allocations: 144.7 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.006107, allocations: 83.77 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.006164, allocations: 24 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.006263, allocations: 40.75 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.006321, allocations: 39.88 kB / 0.7893 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.006441, allocations: 78.34 kB / 0.7893 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.006853, allocations: 283.2 kB / 0.7896 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.006855, allocations: 4 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.313e-06/0.006857, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.006862, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007712/0.007633, allocations: 0.5149 MB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.007674, allocations: 8.031 kB / 0.7901 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.007783, allocations: 34.59 kB / 0.7902 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.008325, allocations: 180.5 kB / 0.7903 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.008357, allocations: 20.36 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.008403, allocations: 24.97 kB / 0.7904 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.008677, allocations: 133.4 kB / 0.7905 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.008688, allocations: 192 / 0.7905 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.008716, allocations: 4.375 kB / 0.7905 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.008727, allocations: 8.125 kB / 0.7905 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.008893, allocations: 77.05 kB / 0.7906 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.009597, allocations: 415.3 kB / 0.791 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.009827, allocations: 104.4 kB / 0.7911 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.009906, allocations: 47.81 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.009917, allocations: 3.984 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.01018, allocations: 149.6 kB / 0.7913 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.01018, allocations: 0 / 0.7913 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005469/0.01073, allocations: 258.7 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.01079, allocations: 55.41 kB / 0.7916 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.01099, allocations: 217.8 kB / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.01103, allocations: 29.7 kB / 0.7918 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.01117, allocations: 159.8 kB / 0.792 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.01121, allocations: 45.61 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.01135, allocations: 83.33 kB / 0.7921 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002848/0.01164, allocations: 0.4962 MB / 0.7926 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.01186, allocations: 143.4 kB / 0.7927 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.01217, allocations: 228.5 kB / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.01251, allocations: 249.1 kB / 0.7932 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01252, allocations: 0.5312 kB / 0.7932 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006634/0.01318, allocations: 415 kB / 0.7936 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.01325, allocations: 63.39 kB / 0.7936 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.01326, allocations: 4 kB / 0.7936 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.01328, allocations: 7.938 kB / 0.7936 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.337e-05/0.01332, allocations: 12.52 kB / 0.7936 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.01333, allocations: 0.7812 kB / 0.7936 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.01362, allocations: 48.73 kB / 0.7937 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.01366, allocations: 20.8 kB / 0.7937 GB, free: 4.957 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.01384, allocations: 181.8 kB / 0.7939 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.01388, allocations: 23.89 kB / 0.7939 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.01391, allocations: 8.781 kB / 0.7939 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.01392, allocations: 8.781 kB / 0.7939 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01393, allocations: 0 / 0.7939 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.01393, allocations: 5.203 kB / 0.7939 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.01453, allocations: 489.2 kB / 0.7944 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01453, allocations: 0 / 0.7944 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.01455, allocations: 5.297 kB / 0.7944 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01455, allocations: 4 kB / 0.7944 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.01457, allocations: 3.938 kB / 0.7944 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01457, allocations: 1.688 kB / 0.7944 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01458, allocations: 4 kB / 0.7944 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.01502, allocations: 360.5 kB / 0.7947 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.01505, allocations: 15.91 kB / 0.7948 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.01508, allocations: 7.938 kB / 0.7948 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.01514, allocations: 10.64 kB / 0.7948 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.0152, allocations: 11.98 kB / 0.7948 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.01522, allocations: 11.98 kB / 0.7948 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001081/0.01533, allocations: 144.8 kB / 0.7949 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01533, allocations: 0 / 0.7949 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003154/0.01565, allocations: 47.94 kB / 0.795 GB, free: 3.582 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001896/0.01584, allocations: 105.7 kB / 0.7951 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008537/0.01669, allocations: 398 kB / 0.7955 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01669, allocations: 3.938 kB / 0.7955 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.01683, allocations: 80.84 kB / 0.7955 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.01716, allocations: 28.98 kB / 0.7956 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.01777, allocations: 274.8 kB / 0.7958 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.01788, allocations: 95.16 kB / 0.7959 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.01792, allocations: 13.14 kB / 0.7959 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.01797, allocations: 20.5 kB / 0.796 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01797, allocations: 0 / 0.796 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.008578/0.02655, allocations: 2.346 MB / 0.7983 GB, free: 204 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.265081488061696]