Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.001718/0.001718, allocations: 103.8 kB / 19.71 MB, free: 2.145 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.002745/0.002745, allocations: 212.5 kB / 23 MB, free: 4.957 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.334/3.334, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") [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.002042/0.002042, allocations: 66.69 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4213, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002702/0.424, allocations: 1.094 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003147/0.4271, allocations: 2.188 MB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.4272, allocations: 4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.127e-05/0.4273, allocations: 19.69 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.4275, allocations: 103.2 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.4308, allocations: 1.396 MB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.4322, allocations: 1.205 MB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.4323, allocations: 12.94 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.4329, allocations: 487.3 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007059/0.4336, allocations: 442.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.4339, allocations: 104 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.4341, allocations: 120 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.4342, allocations: 59.83 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.4347, allocations: 383.2 kB / 1.335 GB, free: 9.453 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.436, allocations: 0.9661 MB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.436, allocations: 0 / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.667e-06/0.436, allocations: 0 / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.045e-05/0.436, allocations: 0 / 1.335 GB, free: 8.484 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001722/0.4377, allocations: 1.092 MB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4378, allocations: 11.97 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.438, allocations: 72.73 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.4382, allocations: 166.7 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/0.4383, allocations: 36.36 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.4385, allocations: 64.38 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.4389, allocations: 218.8 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4389, allocations: 192 / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.4389, allocations: 15.92 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.439, allocations: 0 / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.4391, allocations: 63.78 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.44, allocations: 0.6065 MB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.4404, allocations: 311.3 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.4406, allocations: 132.9 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.4406, allocations: 11.98 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008103/0.4414, allocations: 466.7 kB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.4414, allocations: 0 / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001147/0.4426, allocations: 0.5763 MB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003749/0.4429, allocations: 435.2 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.4433, allocations: 292.4 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.4434, allocations: 69.69 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.4436, allocations: 169.2 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4437, allocations: 95.38 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005127/0.4443, allocations: 278 kB / 1.34 GB, free: 2.703 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4444, allocations: 350.8 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.4457, allocations: 0.8581 MB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.4471, allocations: 1.149 MB / 1.343 GB, free: 24 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.4487, allocations: 1.2 MB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.4487, allocations: 4 kB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003447/0.4521, allocations: 2.203 MB / 1.346 GB, free: 12.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.4525, allocations: 473.4 kB / 1.347 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.4525, allocations: 16 kB / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.4525, allocations: 15.94 kB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.4526, allocations: 31.86 kB / 1.347 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.4527, allocations: 19.88 kB / 1.347 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.4549, allocations: 415.4 kB / 1.347 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.4551, allocations: 95.92 kB / 1.347 GB, free: 11.06 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0004337/0.4555, allocations: 214.1 kB / 1.347 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4556, allocations: 43.75 kB / 1.347 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.188e-05/0.4557, allocations: 42.17 kB / 1.347 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4557, allocations: 4 kB / 1.347 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.4557, allocations: 8 kB / 1.347 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.4558, allocations: 39.7 kB / 1.347 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.4559, allocations: 23.92 kB / 1.347 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.456, allocations: 12 kB / 1.347 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.4561, allocations: 59.8 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001287/0.4574, allocations: 1.557 MB / 1.349 GB, free: 9.035 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001269/0.4587, allocations: 1.614 MB / 1.351 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002064/0.4589, allocations: 123.8 kB / 1.351 GB, free: 7.277 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001877/0.4591, allocations: 191.1 kB / 1.351 GB, free: 7.094 MB / 1.045 GB Notification: Performance of Backend: time 7.91e-07/0.4591, allocations: 0 / 1.351 GB, free: 7.094 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004034/0.4631, allocations: 1.993 MB / 1.353 GB, free: 4.82 MB / 1.045 GB Notification: Performance of SimCode: time 0.001662/0.4648, allocations: 1.003 MB / 1.354 GB, free: 3.77 MB / 1.045 GB Notification: Performance of Templates: time 0.0231/0.4879, allocations: 14.12 MB / 1.368 GB, free: 5.98 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.798264021999785]