Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.001398/0.001398, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001579/0.001579, allocations: 210.8 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.446/3.446, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") [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.002263/0.002263, allocations: 67.64 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4083, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.002434/0.4107, allocations: 0.7848 MB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.413, allocations: 1.362 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4132, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.045e-05/0.4132, allocations: 15.86 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.4134, allocations: 19.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000984/0.4143, allocations: 306.5 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.4149, allocations: 383.3 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.4151, allocations: 29.3 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.4154, allocations: 151.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.4156, allocations: 151.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.4157, allocations: 36 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.4158, allocations: 48 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.13e-05/0.4159, allocations: 71.86 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.4161, allocations: 135.6 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.4165, allocations: 334.9 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.4165, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4165, allocations: 7.938 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.4166, allocations: 4 kB / 1.331 GB, free: 13.15 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001217/0.4178, allocations: 0.533 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4178, allocations: 12.03 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.418, allocations: 36.83 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.4188, allocations: 225.2 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.4188, allocations: 36.52 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.4189, allocations: 36.36 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.4194, allocations: 260.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4194, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.4194, allocations: 11.98 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4195, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.4197, allocations: 128.6 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/0.4207, allocations: 484.7 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.4212, allocations: 250.4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.4214, allocations: 125.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.4214, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006331/0.4221, allocations: 367.5 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.4221, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001134/0.4232, allocations: 0.6574 MB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.4233, allocations: 75.45 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4234, allocations: 151.7 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.4235, allocations: 53.7 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.4236, allocations: 105.1 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-05/0.4237, allocations: 107.2 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.4239, allocations: 122.3 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.424, allocations: 342.8 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.4244, allocations: 204.6 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.4248, allocations: 359.8 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.4254, allocations: 454.4 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4254, allocations: 0 / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009991/0.4264, allocations: 0.6311 MB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.4265, allocations: 63.41 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4265, allocations: 8 kB / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.4265, allocations: 12 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.4267, allocations: 47.84 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.4267, allocations: 8 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.4271, allocations: 104 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.4272, allocations: 35.92 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0002089/0.4274, allocations: 179.4 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.4275, allocations: 31.84 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.4275, allocations: 30.31 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4275, allocations: 3.984 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4275, allocations: 0 / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.4276, allocations: 23.78 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.4276, allocations: 27.92 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.4278, allocations: 27.95 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.4279, allocations: 43.91 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009636/0.4288, allocations: 0.6582 MB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009196/0.4298, allocations: 0.7483 MB / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002944/0.4301, allocations: 180.5 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.885e-05/0.4301, allocations: 103.2 kB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of Backend: time 4.11e-07/0.4301, allocations: 0 / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009772/0.4311, allocations: 0.5111 MB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of SimCode: time 0.000891/0.432, allocations: 0.7624 MB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of Templates: time 0.00997/0.442, allocations: 5.09 MB / 1.345 GB, free: 14.36 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.720596794999437]