Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 249.5 MB / 257 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 188.5 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008652/0.0008647, allocations: 94.52 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.893e-05, allocations: 8 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 106.3 MB / 0.8852 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7924/1.044, allocations: 131.6 MB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.044, allocations: 72.08 kB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002101/1.046, allocations: 0.7584 MB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.362e-06/1.046, allocations: 0 / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.046, allocations: 0 / 1.015 GB, free: 5.383 MB / 0.6355 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.0004537/1.047, allocations: 348.8 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.047, allocations: 12.03 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/1.047, allocations: 0 / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.047, allocations: 183 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/1.047, allocations: 0 / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/1.047, allocations: 4 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.677e-05/1.047, allocations: 14.62 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.972e-05/1.047, allocations: 41.55 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.047, allocations: 4 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/1.047, allocations: 4 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.047, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/1.048, allocations: 234.8 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/1.048, allocations: 36.75 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/1.048, allocations: 16.23 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/1.048, allocations: 0 / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/1.048, allocations: 66.17 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/1.048, allocations: 0.75 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001543/1.048, allocations: 49 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/1.048, allocations: 54.84 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/1.048, allocations: 104.4 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/1.048, allocations: 29.7 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/1.048, allocations: 87.33 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/1.048, allocations: 11.84 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/1.048, allocations: 4 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.048, allocations: 326.1 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/1.048, allocations: 14.44 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/1.048, allocations: 15.25 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/1.049, allocations: 9.625 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.049, allocations: 0 / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001116/1.049, allocations: 66.28 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.049, allocations: 4 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.049, allocations: 0.6875 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.049, allocations: 8 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/1.049, allocations: 15.98 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/1.049, allocations: 0 / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/1.049, allocations: 11.98 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/1.049, allocations: 0 / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7.505e-05/1.049, allocations: 116.2 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/1.049, allocations: 2.125 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/1.049, allocations: 20.36 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/1.049, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.049, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/1.049, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/1.049, allocations: 148.7 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.049, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/1.049, allocations: 11.98 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.049, allocations: 4 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/1.049, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.049, allocations: 4 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.049, allocations: 0 / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/1.049, allocations: 79.53 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/1.049, allocations: 92.48 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/1.049, allocations: 0 / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/1.05, allocations: 15.92 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/1.05, allocations: 11.98 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/1.05, allocations: 4.5 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.711e-05/1.05, allocations: 82.47 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 0 / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001937/1.05, allocations: 8 kB / 1.017 GB, free: 2.871 MB / 0.6355 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001725/1.05, allocations: 106.4 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.622e-05/1.05, allocations: 30.5 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.05, allocations: 4 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/1.05, allocations: 15.44 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/1.05, allocations: 19.86 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/1.051, allocations: 71.06 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/1.051, allocations: 0.6807 MB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.239e-05/1.051, allocations: 4.484 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/1.051, allocations: 11.44 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/1.051, allocations: 4 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of Templates: time 0.00232/1.053, allocations: 0.6504 MB / 1.018 GB, free: 1.262 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches