Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001823/0.001823, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002273/0.002273, allocations: 164.1 kB / 22.46 MB, free: 5.375 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.705/2.705, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/3.101e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002196/0.002227, allocations: 0.9138 MB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.004571, allocations: 1.467 MB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.004705, allocations: 4 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.134e-05/0.004756, allocations: 11.81 kB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.004957, allocations: 63.5 kB / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.006154, allocations: 451.5 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007244/0.006878, allocations: 495 kB / 0.9543 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.007039, allocations: 33.92 kB / 0.9543 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.007491, allocations: 267.6 kB / 0.9546 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.007778, allocations: 131.7 kB / 0.9547 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.007886, allocations: 51.94 kB / 0.9548 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.008055, allocations: 63.92 kB / 0.9548 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.00811, allocations: 47.78 kB / 0.9549 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.008318, allocations: 135.8 kB / 0.955 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006635/0.008982, allocations: 0.5572 MB / 0.9555 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.008985, allocations: 0 / 0.9555 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.72e-07/0.008985, allocations: 0 / 0.9555 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.008995, allocations: 0 / 0.9555 GB, free: 6.883 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009887/0.009983, allocations: 0.5625 MB / 0.9561 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.01002, allocations: 12.03 kB / 0.9561 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.01013, allocations: 32.8 kB / 0.9561 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.01034, allocations: 168.9 kB / 0.9563 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.01037, allocations: 20.36 kB / 0.9563 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.01043, allocations: 24.38 kB / 0.9563 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.01065, allocations: 120 kB / 0.9564 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.01066, allocations: 192 / 0.9564 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.01068, allocations: 8.375 kB / 0.9565 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.01068, allocations: 384 / 0.9565 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.01084, allocations: 63.84 kB / 0.9565 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009607/0.0118, allocations: 0.7155 MB / 0.9572 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.01198, allocations: 118.4 kB / 0.9573 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.198e-05/0.01207, allocations: 55.42 kB / 0.9574 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.01208, allocations: 0 / 0.9574 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.01235, allocations: 174.6 kB / 0.9575 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.01235, allocations: 0 / 0.9575 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004941/0.01284, allocations: 225.5 kB / 0.9578 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.01293, allocations: 136.5 kB / 0.9579 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.01322, allocations: 245.7 kB / 0.9581 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.01328, allocations: 37.7 kB / 0.9582 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.0134, allocations: 136.5 kB / 0.9583 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.01344, allocations: 35.75 kB / 0.9583 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.01361, allocations: 85.66 kB / 0.9584 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.01378, allocations: 338.8 kB / 0.9587 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.01416, allocations: 271 kB / 0.959 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.01461, allocations: 346.2 kB / 0.9593 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.01516, allocations: 376.8 kB / 0.9597 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.01517, allocations: 4 kB / 0.9597 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001082/0.01625, allocations: 0.6909 MB / 0.9604 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.01636, allocations: 134.8 kB / 0.9605 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.01637, allocations: 4 kB / 0.9605 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.01639, allocations: 4.25 kB / 0.9605 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.01648, allocations: 15.94 kB / 0.9605 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.01649, allocations: 7.938 kB / 0.9605 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000686/0.01718, allocations: 111.8 kB / 0.9606 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.01725, allocations: 27.98 kB / 0.9606 GB, free: 1.133 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001799/0.01743, allocations: 153.7 kB / 0.9608 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.01747, allocations: 28.03 kB / 0.9608 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.01752, allocations: 21.33 kB / 0.9608 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.01752, allocations: 4 kB / 0.9608 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01753, allocations: 0 / 0.9608 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.01754, allocations: 7.984 kB / 0.9609 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.01777, allocations: 177.2 kB / 0.961 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.01778, allocations: 4 kB / 0.961 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.01783, allocations: 15.98 kB / 0.961 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01783, allocations: 0 / 0.961 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.01785, allocations: 7.938 kB / 0.961 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01785, allocations: 4 kB / 0.9611 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.01785, allocations: 4 kB / 0.9611 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.01819, allocations: 219.4 kB / 0.9613 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.01823, allocations: 23.86 kB / 0.9613 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.01826, allocations: 3.984 kB / 0.9613 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.01832, allocations: 8 kB / 0.9613 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.01837, allocations: 23.84 kB / 0.9613 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.01839, allocations: 12 kB / 0.9613 GB, free: 372 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002043/0.01859, allocations: 169.2 kB / 0.9615 GB, free: 200 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01859, allocations: 0 / 0.9615 GB, free: 200 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003488/0.01894, allocations: 64 kB / 0.9616 GB, free: 136 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.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): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001813/0.01912, allocations: 111.9 kB / 0.9617 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008298/0.01995, allocations: 0.6035 MB / 0.9623 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01996, allocations: 0 / 0.9623 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.02007, allocations: 59.97 kB / 0.9623 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.02052, allocations: 68.31 kB / 0.9624 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.02121, allocations: 341.3 kB / 0.9627 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.02132, allocations: 116.9 kB / 0.9628 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.064e-05/0.02139, allocations: 22.39 kB / 0.9628 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.02143, allocations: 24.44 kB / 0.9629 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.02143, allocations: 0 / 0.9629 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.01035/0.03178, allocations: 5.052 MB / 0.9678 GB, free: 9.742 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.021078769117594]