Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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.001769/0.001769, allocations: 96.2 kB / 19.71 MB, free: 2.121 MB / 14.72 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.002221/0.002221, allocations: 211.2 kB / 23 MB, free: 4.934 MB / 14.72 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.683/1.683, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.295/3.295, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Toggle,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.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,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.Toggle") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 68.5 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3769, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00217/0.379, allocations: 0.744 MB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.3813, allocations: 1.362 MB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.3814, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.742e-05/0.3814, allocations: 11.86 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.3815, allocations: 15.81 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009527/0.3825, allocations: 317.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.383, allocations: 359.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.3832, allocations: 41.28 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.3835, allocations: 167.6 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.3837, allocations: 139.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/0.3838, allocations: 39.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3839, allocations: 40 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.384, allocations: 79.84 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3841, allocations: 127.6 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.3846, allocations: 343 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3846, allocations: 3.938 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3846, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.3846, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 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.0008489/0.3855, allocations: 485.1 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.3856, allocations: 12.03 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3857, allocations: 24.84 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.3863, allocations: 202.5 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.3863, allocations: 28.3 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.3864, allocations: 36.3 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.3868, allocations: 218 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3869, allocations: 7.875 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.3869, allocations: 11.98 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3869, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.3871, allocations: 87.94 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009457/0.3881, allocations: 455.9 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.3886, allocations: 202.6 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.3888, allocations: 84.81 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3888, allocations: 96 / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.3898, allocations: 0.5553 MB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/0.3898, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001209/0.391, allocations: 0.5831 MB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.3911, allocations: 55.41 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.3913, allocations: 159.8 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.395e-05/0.3914, allocations: 61.69 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3915, allocations: 113 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.3916, allocations: 111.2 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.3918, allocations: 126.3 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.392, allocations: 330.8 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.3925, allocations: 244.6 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.393, allocations: 353.5 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.3935, allocations: 380.1 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.3935, allocations: 0 / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001021/0.3945, allocations: 0.6252 MB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.105e-05/0.3946, allocations: 63.41 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3946, allocations: 7.984 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.3946, allocations: 8 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.3947, allocations: 23.86 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.3947, allocations: 15.92 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.3952, allocations: 83.73 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.3952, allocations: 35.94 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0002416/0.3955, allocations: 175.4 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.3955, allocations: 31.84 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3956, allocations: 34.31 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.3956, allocations: 3.984 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3957, allocations: 0 / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.3957, allocations: 27.78 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.3958, allocations: 27.98 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.3958, allocations: 11.98 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.396, allocations: 71.88 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007997/0.3968, allocations: 0.5137 MB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008793/0.3977, allocations: 0.6155 MB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002613/0.398, allocations: 144.6 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3981, allocations: 107.2 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/0.3981, allocations: 0 / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.3992, allocations: 0.5396 MB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009238/0.4001, allocations: 0.7646 MB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of Templates: time 0.01083/0.4109, allocations: 5.358 MB / 1.345 GB, free: 14.68 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Toggle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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: 9.711634373001289]