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.001368/0.001368, allocations: 117.8 kB / 16.42 MB, free: 6.5 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.001302/0.001302, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.324/2.324, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9968/0.9982, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002185/1, allocations: 0.9785 MB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001875/1.002, allocations: 1.427 MB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/1.003, allocations: 2.031 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/1.003, allocations: 17.91 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001839/1.003, allocations: 63.83 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/1.004, allocations: 439.1 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006614/1.005, allocations: 0.5184 MB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/1.005, allocations: 46.52 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/1.005, allocations: 182.3 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/1.005, allocations: 168.2 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/1.006, allocations: 49.41 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/1.006, allocations: 66.67 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/1.006, allocations: 42.2 kB / 1.093 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/1.006, allocations: 167.5 kB / 1.093 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006987/1.007, allocations: 493.8 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.007, allocations: 0.6562 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/1.007, allocations: 0 / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.359e-05/1.007, allocations: 0 / 1.093 GB, free: 2.801 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.0008192/1.008, allocations: 0.631 MB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.008, allocations: 12.81 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/1.008, allocations: 40.31 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/1.008, allocations: 216.3 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/1.008, allocations: 19.08 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/1.008, allocations: 25.28 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/1.008, allocations: 124.4 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/1.008, allocations: 0.7188 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/1.008, allocations: 2.359 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/1.008, allocations: 5.594 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/1.008, allocations: 57.08 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009584/1.009, allocations: 0.8693 MB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/1.009, allocations: 124.2 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.675e-05/1.01, allocations: 52.05 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/1.01, allocations: 1.094 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/1.01, allocations: 172.1 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/1.01, allocations: 0.6875 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004863/1.01, allocations: 225.5 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/1.01, allocations: 144.7 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/1.011, allocations: 236 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/1.011, allocations: 38.12 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.011, allocations: 135.8 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/1.011, allocations: 31.28 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/1.011, allocations: 93.16 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/1.011, allocations: 334.3 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/1.012, allocations: 150 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/1.012, allocations: 223.5 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/1.013, allocations: 371.5 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.013, allocations: 5.406 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001051/1.014, allocations: 0.5506 MB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.014, allocations: 136.6 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.014, allocations: 3.406 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.014, allocations: 3.891 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/1.014, allocations: 10.62 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/1.014, allocations: 13.52 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/1.015, allocations: 112 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/1.015, allocations: 24.38 kB / 1.098 GB, free: 14.92 MB / 0.8731 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.0001816/1.015, allocations: 152.2 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/1.015, allocations: 22.75 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/1.015, allocations: 21.23 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/1.015, allocations: 2.422 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.015, allocations: 5.062 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/1.015, allocations: 93.59 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/1.015, allocations: 14.98 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/1.015, allocations: 2.516 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/1.015, allocations: 19.66 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004561/1.016, allocations: 482.1 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004433/1.016, allocations: 0.569 MB / 1.099 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001057/1.016, allocations: 61.44 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001723/1.017, allocations: 169.3 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of Backend: time 6.61e-07/1.017, allocations: 0 / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001257/1.018, allocations: 0.5734 MB / 1.1 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001052/1.019, allocations: 0.7715 MB / 1.101 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.01379/1.033, allocations: 4.702 MB / 1.106 GB, free: 12.14 MB / 0.8731 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/jenkins1/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