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.001033/0.001033, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001911/0.001911, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 0.991/0.991, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.003/2.003, allocations: 377.8 MB / 0.6239 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 177] 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.944e-06/1.944e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.838e-05, allocations: 4.844 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001781/0.00181, allocations: 0.777 MB / 0.8123 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003129, allocations: 1.291 MB / 0.8136 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.003187, allocations: 4.875 kB / 0.8136 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.003224, allocations: 11.86 kB / 0.8136 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.003315, allocations: 16.58 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.003854, allocations: 253 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.004099, allocations: 253.1 kB / 0.8141 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.004232, allocations: 41.27 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.004386, allocations: 155.7 kB / 0.8143 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.004511, allocations: 75.73 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.004545, allocations: 29.09 kB / 0.8144 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.004615, allocations: 35.98 kB / 0.8144 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.004653, allocations: 35.89 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.004737, allocations: 81.45 kB / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.004962, allocations: 199.4 kB / 0.8147 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004965, allocations: 0 / 0.8147 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.305e-06/0.004967, allocations: 7.984 kB / 0.8147 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.004972, allocations: 0.5312 kB / 0.8147 GB, free: 14.85 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.0004923/0.005464, allocations: 0.5074 MB / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.0055, allocations: 8.75 kB / 0.8152 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.005573, allocations: 40.77 kB / 0.8153 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.005915, allocations: 174.8 kB / 0.8154 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.005932, allocations: 12.38 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.005966, allocations: 24.36 kB / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.006128, allocations: 114.1 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006135, allocations: 0.8125 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.00615, allocations: 8.359 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.006159, allocations: 8.812 kB / 0.8156 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.006237, allocations: 48.66 kB / 0.8156 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.006679, allocations: 420 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.006808, allocations: 79.02 kB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.006844, allocations: 36.98 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.006849, allocations: 7.938 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.007014, allocations: 126.7 kB / 0.8163 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.724e-06/0.007016, allocations: 0 / 0.8163 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0003222/0.007338, allocations: 235 kB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.00738, allocations: 59.39 kB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.007481, allocations: 198 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.007507, allocations: 33.7 kB / 0.8168 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.007581, allocations: 163.4 kB / 0.8169 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.007603, allocations: 35.73 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.007683, allocations: 75.33 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.007811, allocations: 0.4884 MB / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.007935, allocations: 122.5 kB / 0.8176 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.00808, allocations: 211.2 kB / 0.8178 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.008255, allocations: 228.2 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008258, allocations: 0 / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003645/0.008623, allocations: 370.1 kB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.008669, allocations: 67.39 kB / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.008674, allocations: 1.094 kB / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.00869, allocations: 7.938 kB / 0.8185 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.06e-05/0.008711, allocations: 8 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.008719, allocations: 10.38 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.008878, allocations: 47.84 kB / 0.8185 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.008902, allocations: 16 kB / 0.8185 GB, free: 10.57 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.000103/0.009005, allocations: 174.5 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.00903, allocations: 23.89 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.009065, allocations: 13.72 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.00907, allocations: 3.938 kB / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.009074, allocations: 1.219 kB / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.009078, allocations: 3.938 kB / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.009602, allocations: 465.2 kB / 0.8192 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.009604, allocations: 0.8438 kB / 0.8192 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-06/0.009612, allocations: 4 kB / 0.8192 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.009615, allocations: 0.7812 kB / 0.8192 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.009627, allocations: 15.86 kB / 0.8192 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.00963, allocations: 1.156 kB / 0.8192 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009631, allocations: 0 / 0.8192 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.009847, allocations: 338.6 kB / 0.8195 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.00986, allocations: 16.84 kB / 0.8196 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.009878, allocations: 7.922 kB / 0.8196 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.009915, allocations: 8 kB / 0.8196 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.009957, allocations: 13.09 kB / 0.8196 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.009976, allocations: 12 kB / 0.8196 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.01002, allocations: 133.9 kB / 0.8197 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01002, allocations: 1.125 kB / 0.8197 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002094/0.01023, allocations: 51.98 kB / 0.8198 GB, free: 9.25 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.0001385/0.01037, allocations: 112.1 kB / 0.8199 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.01068, allocations: 324.1 kB / 0.8202 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01068, allocations: 3.938 kB / 0.8202 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.01074, allocations: 63.64 kB / 0.8203 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01098, allocations: 25.17 kB / 0.8203 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.01138, allocations: 259.9 kB / 0.8205 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.01142, allocations: 67.84 kB / 0.8206 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.01145, allocations: 16.98 kB / 0.8206 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.01148, allocations: 16.5 kB / 0.8206 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.01148, allocations: 0 / 0.8206 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of Templates: time 0.004191/0.01567, allocations: 2.352 MB / 0.8229 GB, free: 5.992 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3404516039881855]