Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 106.1 kB / 16.41 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.00175/0.00175, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 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.339/2.339, allocations: 390.2 MB / 0.6655 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 68.12 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8434/0.8449, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001933/0.8469, allocations: 0.7287 MB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.8483, allocations: 1.136 MB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.8484, allocations: 0 / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.8484, allocations: 5.312 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.8485, allocations: 14.88 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.849, allocations: 128.8 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.8493, allocations: 133.1 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.8494, allocations: 15.17 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.518e-05/0.8495, allocations: 49.27 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.8496, allocations: 41.88 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.8497, allocations: 12.47 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.8498, allocations: 26.7 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.8498, allocations: 6.953 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.8499, allocations: 45.36 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.8502, allocations: 134.3 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.8502, allocations: 1.438 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8502, allocations: 0 / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8502, allocations: 4 kB / 1.091 GB, free: 3.953 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005355/0.8507, allocations: 398.3 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8508, allocations: 10.16 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.8509, allocations: 6.094 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.851, allocations: 175.8 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.851, allocations: 7.219 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.8511, allocations: 5.719 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.8512, allocations: 45.69 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8512, allocations: 192 / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.8512, allocations: 9.828 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.8512, allocations: 1.25 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.8513, allocations: 11.81 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.8517, allocations: 322.8 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.783e-05/0.8518, allocations: 34.78 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.8518, allocations: 18.59 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.8518, allocations: 4 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.852, allocations: 65.09 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.852, allocations: 0 / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002467/0.8522, allocations: 78.83 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.8523, allocations: 53.2 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.8524, allocations: 125.8 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.8524, allocations: 36.33 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.8525, allocations: 101 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.8525, allocations: 6.172 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.8526, allocations: 30.59 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.8527, allocations: 318.8 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.8528, allocations: 34.16 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.8529, allocations: 56.83 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.853, allocations: 99.06 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.853, allocations: 0.7188 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003184/0.8534, allocations: 161.4 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.8534, allocations: 39.08 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.8534, allocations: 1.625 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8535, allocations: 1.562 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.8535, allocations: 3.016 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8535, allocations: 1.344 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.8538, allocations: 32.34 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.8538, allocations: 7.031 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 8.309e-05/0.8539, allocations: 121 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.8539, allocations: 11.73 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.8539, allocations: 6.219 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.854, allocations: 1.922 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.854, allocations: 4 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.854, allocations: 7.938 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.8541, allocations: 178.1 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8541, allocations: 0 / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.8541, allocations: 2.656 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.8541, allocations: 1.5 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.8541, allocations: 4.719 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8542, allocations: 1.062 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8542, allocations: 1.5 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.8543, allocations: 88.45 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.8543, allocations: 91.38 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.8543, allocations: 1.281 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.8544, allocations: 1.344 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.8544, allocations: 2.578 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.8544, allocations: 2.297 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.734e-05/0.8545, allocations: 102.6 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.92e-07/0.8545, allocations: 0 / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002263/0.8547, allocations: 21.25 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001834/0.8549, allocations: 111.1 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.8552, allocations: 135.2 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8552, allocations: 0 / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.8552, allocations: 19.45 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.8555, allocations: 19.34 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.8558, allocations: 174.8 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.856, allocations: 0.6839 MB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.856, allocations: 10.84 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.856, allocations: 0 / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of Templates: time 0.003645/0.8597, allocations: 1.15 MB / 1.096 GB, free: 104 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches