Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002275/0.002275, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.001974/0.001974, allocations: 157.4 kB / 23.55 MB, free: 0.8516 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.07/3.07, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.132e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002069/0.0021, allocations: 0.7641 MB / 0.8116 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.00405, allocations: 1.269 MB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.004112, allocations: 4 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.004153, allocations: 11.81 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.585e-05/0.004249, allocations: 19.86 kB / 0.8129 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.004977, allocations: 249.6 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.005312, allocations: 251.6 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.005453, allocations: 42.09 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.005663, allocations: 147.8 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.005834, allocations: 84.97 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.005896, allocations: 28 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.005988, allocations: 35.92 kB / 0.8137 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.006037, allocations: 37.67 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.00616, allocations: 79.86 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.006553, allocations: 291.1 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.006556, allocations: 0 / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.81e-07/0.006557, allocations: 0 / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.006561, allocations: 1.188 kB / 0.814 GB, free: 14.8 MB / 0.7761 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.0007572/0.007318, allocations: 0.511 MB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.007355, allocations: 8.031 kB / 0.8146 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.007457, allocations: 38.64 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.007969, allocations: 176.6 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.007993, allocations: 8.375 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.008042, allocations: 25.89 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.008294, allocations: 130.2 kB / 0.8149 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.008304, allocations: 192 / 0.8149 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.008328, allocations: 12.36 kB / 0.8149 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.008335, allocations: 4.125 kB / 0.8149 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.008491, allocations: 80.8 kB / 0.815 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.009157, allocations: 428 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.009357, allocations: 99.03 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.009433, allocations: 44.38 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.009445, allocations: 4 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.009698, allocations: 146.9 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.009699, allocations: 3.938 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005267/0.01023, allocations: 258 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.01028, allocations: 55.41 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01047, allocations: 214.5 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.01051, allocations: 33.7 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01063, allocations: 164.4 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.01066, allocations: 31.73 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.01082, allocations: 87.33 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002638/0.01108, allocations: 0.5006 MB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.0113, allocations: 140.5 kB / 0.8171 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.01172, allocations: 236.5 kB / 0.8174 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.01205, allocations: 249.7 kB / 0.8176 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01205, allocations: 0 / 0.8176 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006245/0.01268, allocations: 406.4 kB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.01274, allocations: 67.41 kB / 0.818 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01275, allocations: 0.875 kB / 0.818 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.01277, allocations: 7.938 kB / 0.8181 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.367e-05/0.0128, allocations: 11.92 kB / 0.8181 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.01281, allocations: 6.094 kB / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.01308, allocations: 47.86 kB / 0.8181 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.01312, allocations: 15.98 kB / 0.8181 GB, free: 10.26 MB / 0.7761 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.0001646/0.01329, allocations: 185.2 kB / 0.8183 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.01332, allocations: 23.91 kB / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.01336, allocations: 12.77 kB / 0.8183 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.01337, allocations: 7.938 kB / 0.8183 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01337, allocations: 0 / 0.8183 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01337, allocations: 0 / 0.8183 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.01393, allocations: 482.8 kB / 0.8188 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01394, allocations: 3.984 kB / 0.8188 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.01395, allocations: 8 kB / 0.8188 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.01395, allocations: 0.5 kB / 0.8188 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.01397, allocations: 8.5 kB / 0.8188 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01397, allocations: 1.406 kB / 0.8188 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01397, allocations: 0 / 0.8188 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.01438, allocations: 360.2 kB / 0.8192 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.01439, allocations: 11.91 kB / 0.8192 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.01443, allocations: 20.48 kB / 0.8192 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.954e-05/0.01448, allocations: 4 kB / 0.8192 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.01454, allocations: 12.62 kB / 0.8192 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.01457, allocations: 12 kB / 0.8192 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001002/0.01467, allocations: 142.8 kB / 0.8194 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01467, allocations: 0 / 0.8194 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003028/0.01498, allocations: 51.92 kB / 0.8194 GB, free: 8.879 MB / 0.7761 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.0001882/0.01516, allocations: 110.9 kB / 0.8195 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005647/0.01573, allocations: 392.6 kB / 0.8199 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01573, allocations: 0 / 0.8199 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.01586, allocations: 79.59 kB / 0.82 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.01617, allocations: 30.73 kB / 0.82 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.01672, allocations: 275.9 kB / 0.8203 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.01683, allocations: 99.91 kB / 0.8204 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.01687, allocations: 14.17 kB / 0.8204 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.0169, allocations: 13.56 kB / 0.8204 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of SimCode: time 4.1e-07/0.0169, allocations: 0 / 0.8204 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of Templates: time 0.006471/0.02337, allocations: 2.351 MB / 0.8227 GB, free: 5.516 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.215707647032104]