Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008623/0.0008625, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007527/0.007527, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.8701, allocations: 142.4 MB / 0.9551 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001348/0.8715, allocations: 0.6687 MB / 0.9557 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.8739, allocations: 1.486 MB / 0.9572 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.874, allocations: 2.188 kB / 0.9572 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.8741, allocations: 15.8 kB / 0.9572 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.8743, allocations: 41.09 kB / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.8754, allocations: 418.6 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.8759, allocations: 418.7 kB / 0.958 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.8761, allocations: 49.28 kB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.8764, allocations: 146.6 kB / 0.9582 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.8766, allocations: 116.2 kB / 0.9583 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.8767, allocations: 19.78 kB / 0.9583 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.8769, allocations: 39.41 kB / 0.9584 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.8769, allocations: 31.64 kB / 0.9584 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.8772, allocations: 158.4 kB / 0.9586 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.8778, allocations: 464.7 kB / 0.959 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.8778, allocations: 0 / 0.959 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.795e-06/0.8778, allocations: 0 / 0.959 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.8778, allocations: 1.375 kB / 0.959 GB, free: 4.711 MB / 0.7169 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.0009795/0.8788, allocations: 0.563 MB / 0.9595 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.8789, allocations: 9.625 kB / 0.9596 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.879, allocations: 30.53 kB / 0.9596 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.8792, allocations: 235.5 kB / 0.9598 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.8793, allocations: 17.94 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-05/0.8794, allocations: 23.62 kB / 0.9599 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.8796, allocations: 124.8 kB / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8797, allocations: 0 / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.8797, allocations: 5.359 kB / 0.96 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.8797, allocations: 2.75 kB / 0.96 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.8798, allocations: 61.8 kB / 0.96 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.8809, allocations: 0.8707 MB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.8811, allocations: 116.7 kB / 0.961 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.8812, allocations: 54.77 kB / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.8812, allocations: 1.25 kB / 0.9611 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.8815, allocations: 174 kB / 0.9612 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/0.8815, allocations: 4 kB / 0.9612 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0005496/0.882, allocations: 227.9 kB / 0.9614 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.8821, allocations: 140.5 kB / 0.9616 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.8824, allocations: 235.9 kB / 0.9618 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.8825, allocations: 37.95 kB / 0.9618 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.8826, allocations: 130.2 kB / 0.962 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.8826, allocations: 36.39 kB / 0.962 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.8827, allocations: 46.16 kB / 0.962 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.8828, allocations: 335.9 kB / 0.9624 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.8831, allocations: 151.4 kB / 0.9625 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.8834, allocations: 219.4 kB / 0.9627 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.8839, allocations: 375.1 kB / 0.9631 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.8839, allocations: 0.8438 kB / 0.9631 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009538/0.8848, allocations: 0.5505 MB / 0.9636 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.8849, allocations: 134.8 kB / 0.9637 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8849, allocations: 3.594 kB / 0.9637 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.885, allocations: 8.672 kB / 0.9637 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.8851, allocations: 17.94 kB / 0.9638 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.8851, allocations: 11.41 kB / 0.9638 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/0.8859, allocations: 157.8 kB / 0.9639 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.741e-05/0.886, allocations: 22.83 kB / 0.9639 GB, free: 400 kB / 0.7169 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.0001832/0.8862, allocations: 150.3 kB / 0.9641 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.8863, allocations: 21.75 kB / 0.9641 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.8863, allocations: 22.61 kB / 0.9641 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.8863, allocations: 3.438 kB / 0.9641 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.8864, allocations: 9.062 kB / 0.9641 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.8864, allocations: 5.141 kB / 0.9641 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.8867, allocations: 256.8 kB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8867, allocations: 0 / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.8867, allocations: 12.45 kB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8867, allocations: 1.406 kB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.8868, allocations: 7.281 kB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.8868, allocations: 2 kB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.8868, allocations: 4.906 kB / 0.9644 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.8871, allocations: 217.1 kB / 0.9646 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.8872, allocations: 94.64 kB / 0.9647 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.8873, allocations: 10.8 kB / 0.9647 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.8873, allocations: 1.656 kB / 0.9647 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.8874, allocations: 18.8 kB / 0.9647 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.8874, allocations: 14.45 kB / 0.9648 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001856/0.8876, allocations: 169.6 kB / 0.9649 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8876, allocations: 0 / 0.9649 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004031/0.888, allocations: 71.89 kB / 0.965 GB, free: 15.52 MB / 0.7325 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.0002217/0.8883, allocations: 111.4 kB / 0.9651 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008064/0.8891, allocations: 0.5238 MB / 0.9656 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8891, allocations: 5.375 kB / 0.9656 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.8892, allocations: 65.58 kB / 0.9657 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.8897, allocations: 63.38 kB / 0.9657 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/0.8904, allocations: 389.5 kB / 0.9661 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.8908, allocations: 0.7323 MB / 0.9668 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.572e-05/0.8909, allocations: 18.3 kB / 0.9668 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.891, allocations: 22.34 kB / 0.9669 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/0.891, allocations: 0 / 0.9669 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.01077/0.9018, allocations: 4.355 MB / 0.9711 GB, free: 11.72 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches