Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.291/2.291, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001222, allocations: 176.7 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.3 MB / 0.7915 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 91.89 kB / 0.9318 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/3.999e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3654, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.419, allocations: 150.2 MB / 1.365 GB, free: 3.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.419, allocations: 73.67 kB / 1.366 GB, free: 3.781 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006688/1.426, allocations: 2.009 MB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.224e-06/1.426, allocations: 3.938 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.426, allocations: 0 / 1.367 GB, free: 2.047 MB / 0.823 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.0006143/1.426, allocations: 377.1 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/1.427, allocations: 8.031 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/1.427, allocations: 11.91 kB / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/1.427, allocations: 175 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/1.427, allocations: 6.625 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/1.427, allocations: 4 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/1.427, allocations: 43.12 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.427, allocations: 0 / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.427, allocations: 0 / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/1.427, allocations: 0 / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.306e-05/1.427, allocations: 19.44 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/1.428, allocations: 334.3 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/1.428, allocations: 26.14 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/1.428, allocations: 16.59 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/1.428, allocations: 0 / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/1.428, allocations: 69.77 kB / 1.369 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/1.428, allocations: 0 / 1.369 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002229/1.428, allocations: 63.53 kB / 1.369 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/1.428, allocations: 55.36 kB / 1.369 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/1.429, allocations: 124.3 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/1.429, allocations: 25.7 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/1.429, allocations: 94.19 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/1.429, allocations: 3.906 kB / 1.369 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/1.429, allocations: 14.94 kB / 1.369 GB, free: 0.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.429, allocations: 310.8 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/1.429, allocations: 41.67 kB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/1.429, allocations: 59.25 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.429, allocations: 62.86 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.429, allocations: 0 / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003441/1.43, allocations: 167.1 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/1.43, allocations: 37.2 kB / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.43, allocations: 0 / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.43, allocations: 4 kB / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/1.43, allocations: 0 / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.43, allocations: 4 kB / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/1.43, allocations: 43.3 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/1.43, allocations: 11.98 kB / 1.37 GB, free: 15.81 MB / 0.8386 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,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.43, allocations: 109.6 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/1.43, allocations: 7.906 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/1.43, allocations: 7.281 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.43, allocations: 4 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.43, allocations: 0 / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.43, allocations: 0 / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/1.431, allocations: 183.3 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.431, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/1.431, allocations: 4 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.431, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/1.431, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.431, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.431, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/1.431, allocations: 92.94 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/1.431, allocations: 85.02 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/1.431, allocations: 4 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/1.431, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/1.431, allocations: 7.922 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/1.431, allocations: 4 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.233e-05/1.431, allocations: 99.11 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.431, allocations: 3.938 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002592/1.431, allocations: 23.23 kB / 1.37 GB, free: 15.12 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/1.432, allocations: 111.2 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000256/1.432, allocations: 130.9 kB / 1.37 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.432, allocations: 3.938 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/1.432, allocations: 15.06 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/1.432, allocations: 19.12 kB / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/1.432, allocations: 82.67 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/1.433, allocations: 0.6969 MB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.26e-05/1.433, allocations: 4.172 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/1.433, allocations: 11.44 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.433, allocations: 0 / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of Templates: time 0.004002/1.437, allocations: 1.246 MB / 1.372 GB, free: 12.81 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches