Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001778/0.001778, allocations: 106.1 kB / 16.41 MB, free: 6.48 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.00168/0.00168, allocations: 190.7 kB / 17.35 MB, free: 5.707 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.47/1.47, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 55.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 151.7 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002778/1.123, allocations: 0.9673 MB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002358/1.125, allocations: 1.432 MB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/1.125, allocations: 3.938 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.454e-05/1.125, allocations: 15.8 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002623/1.126, allocations: 59.56 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/1.127, allocations: 451.3 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000774/1.128, allocations: 0.5147 MB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/1.128, allocations: 45.66 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/1.128, allocations: 175.6 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/1.129, allocations: 167.4 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/1.129, allocations: 52.05 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/1.129, allocations: 59.94 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.247e-05/1.129, allocations: 47.77 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/1.129, allocations: 167.5 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007718/1.13, allocations: 499 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/1.13, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.516e-06/1.13, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.393e-05/1.13, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 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.001385/1.132, allocations: 0.6455 MB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/1.132, allocations: 8.031 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/1.132, allocations: 28.8 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/1.132, allocations: 219.2 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/1.132, allocations: 12.38 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/1.132, allocations: 28.36 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/1.133, allocations: 129.5 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.133, allocations: 192 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/1.133, allocations: 3.938 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/1.133, allocations: 4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/1.133, allocations: 55.91 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/1.134, allocations: 0.8757 MB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/1.134, allocations: 118.4 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/1.134, allocations: 51.48 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/1.134, allocations: 7.922 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/1.135, allocations: 189.5 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/1.135, allocations: 0 / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0005234/1.135, allocations: 213.5 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/1.135, allocations: 144.4 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/1.136, allocations: 240.9 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/1.136, allocations: 37.7 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/1.136, allocations: 132.5 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/1.136, allocations: 35.73 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/1.136, allocations: 89.66 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.136, allocations: 334.8 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/1.136, allocations: 144.2 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/1.137, allocations: 226.7 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/1.137, allocations: 368.8 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.137, allocations: 0 / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009857/1.138, allocations: 0.5625 MB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.138, allocations: 134.8 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.139, allocations: 4 kB / 1.177 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.139, allocations: 4 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/1.139, allocations: 11.94 kB / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/1.139, allocations: 11.92 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/1.139, allocations: 111.9 kB / 1.177 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-05/1.139, allocations: 35.91 kB / 1.177 GB, free: 9.574 MB / 0.9044 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.0001878/1.14, allocations: 142.7 kB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/1.14, allocations: 27.84 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/1.14, allocations: 21.25 kB / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.14, allocations: 7.984 kB / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.14, allocations: 0 / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/1.14, allocations: 96.97 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/1.14, allocations: 7.938 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/1.14, allocations: 7.984 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/1.14, allocations: 11.98 kB / 1.177 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003955/1.14, allocations: 479.6 kB / 1.178 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004497/1.141, allocations: 0.5669 MB / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000128/1.141, allocations: 59.91 kB / 1.178 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001908/1.141, allocations: 168.5 kB / 1.178 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of Backend: time 1.613e-06/1.141, allocations: 0 / 1.178 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001267/1.143, allocations: 0.5701 MB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001083/1.144, allocations: 0.7889 MB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of Templates: time 0.01075/1.154, allocations: 4.693 MB / 1.184 GB, free: 1.848 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches