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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.00108/0.00108, allocations: 180.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009399, allocations: 98.31 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.448e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.518, allocations: 148.7 MB / 1.351 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.519, allocations: 74.45 kB / 1.351 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008748/1.527, allocations: 2 MB / 1.353 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.014e-06/1.527, allocations: 0.75 kB / 1.353 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.208e-06/1.527, allocations: 0 / 1.353 GB, free: 34.14 MB / 0.8386 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.0004167/1.528, allocations: 374.1 kB / 1.354 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.528, allocations: 16.83 kB / 1.354 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/1.528, allocations: 3.812 kB / 1.354 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.528, allocations: 180.2 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.528, allocations: 4 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/1.528, allocations: 4.609 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.975e-05/1.528, allocations: 18.34 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.469e-05/1.528, allocations: 40.16 kB / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/1.528, allocations: 0.7969 kB / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/1.528, allocations: 0 / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.528, allocations: 0 / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/1.529, allocations: 316.3 kB / 1.354 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.631e-05/1.529, allocations: 26.81 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/1.529, allocations: 11.48 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/1.529, allocations: 0 / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/1.529, allocations: 65 kB / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/1.529, allocations: 0 / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002151/1.53, allocations: 63.75 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/1.53, allocations: 59.25 kB / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/1.53, allocations: 111.6 kB / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/1.53, allocations: 29.55 kB / 1.355 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/1.53, allocations: 88.66 kB / 1.355 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/1.53, allocations: 4.469 kB / 1.355 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/1.53, allocations: 4.422 kB / 1.355 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.53, allocations: 320.2 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/1.53, allocations: 34.81 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/1.53, allocations: 53.73 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/1.531, allocations: 39.56 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.531, allocations: 0 / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004198/1.531, allocations: 135.2 kB / 1.355 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/1.531, allocations: 35.02 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.531, allocations: 9.5 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.531, allocations: 0.7969 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/1.531, allocations: 3.719 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/1.531, allocations: 4.734 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/1.531, allocations: 34.77 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/1.532, allocations: 9.219 kB / 1.355 GB, free: 32.44 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.0001038/1.532, allocations: 113.4 kB / 1.355 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/1.532, allocations: 8.469 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/1.532, allocations: 5.047 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/1.532, allocations: 0 / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.532, allocations: 0.75 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.532, allocations: 3.781 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/1.532, allocations: 156.5 kB / 1.356 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.532, allocations: 4.641 kB / 1.356 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/1.532, allocations: 0.5625 kB / 1.356 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.532, allocations: 8.438 kB / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/1.532, allocations: 0.5625 kB / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.532, allocations: 0.6875 kB / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.532, allocations: 0 / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/1.532, allocations: 88.17 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/1.532, allocations: 85.66 kB / 1.356 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/1.532, allocations: 0.75 kB / 1.356 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.875e-05/1.532, allocations: 0.7969 kB / 1.356 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/1.532, allocations: 8.703 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/1.532, allocations: 4.797 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.936e-05/1.532, allocations: 96.52 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/1.532, allocations: 0 / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003554/1.533, allocations: 24.89 kB / 1.356 GB, free: 31.89 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.0002045/1.533, allocations: 104.7 kB / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002529/1.533, allocations: 136.6 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.533, allocations: 4.125 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/1.533, allocations: 15.8 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/1.534, allocations: 12.23 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/1.534, allocations: 78.45 kB / 1.356 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/1.534, allocations: 0.6888 MB / 1.357 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.483e-05/1.534, allocations: 13.58 kB / 1.357 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/1.534, allocations: 12.56 kB / 1.357 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.534, allocations: 0 / 1.357 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of Templates: time 0.004793/1.539, allocations: 1.136 MB / 1.358 GB, free: 30.83 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches