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.572/1.572, allocations: 249.3 MB / 261.8 MB, free: 5.883 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.001106/0.001106, allocations: 176.9 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0007883/0.0007884, allocations: 90.53 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.092e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7138/0.926, allocations: 131.4 MB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.9263, allocations: 71.33 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002208/0.9285, allocations: 0.7667 MB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9286, allocations: 0 / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.9286, allocations: 0 / 1.021 GB, free: 2.648 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.0004564/0.929, allocations: 338.7 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.9291, allocations: 14.77 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.9291, allocations: 7.062 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.9293, allocations: 178.9 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.9293, allocations: 0 / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.9293, allocations: 4 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.9294, allocations: 48.61 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.9295, allocations: 0 / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.9295, allocations: 0 / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.9295, allocations: 0 / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.9295, allocations: 15.36 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.9299, allocations: 273.5 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.119e-05/0.93, allocations: 28.7 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.9301, allocations: 15.8 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.9301, allocations: 0 / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.9303, allocations: 62.48 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.9303, allocations: 3.938 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001697/0.9304, allocations: 68.17 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.9305, allocations: 51.41 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.9306, allocations: 100.3 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.9306, allocations: 33.52 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.9307, allocations: 80.14 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.9307, allocations: 23 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-06/0.9307, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9308, allocations: 318.2 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.9309, allocations: 15.75 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.9309, allocations: 20.14 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.9309, allocations: 11.23 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9309, allocations: 0 / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001142/0.9311, allocations: 76.69 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.9311, allocations: 4 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9311, allocations: 80 / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.9311, allocations: 0 / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.9313, allocations: 15.98 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.9313, allocations: 3.984 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.9314, allocations: 15.98 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.9314, allocations: 4 kB / 1.023 GB, free: 0.7305 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 8.026e-05/0.9315, allocations: 107.8 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.9315, allocations: 4 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.9315, allocations: 7.969 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.9315, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9315, allocations: 4 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9316, allocations: 4 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.9317, allocations: 165.4 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9317, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.9317, allocations: 8.875 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.9318, allocations: 3.984 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.9318, allocations: 10.94 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9318, allocations: 0 / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9318, allocations: 0 / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.9319, allocations: 91.2 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.932, allocations: 77.11 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.932, allocations: 15.11 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.9321, allocations: 8 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.9322, allocations: 15.84 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.9322, allocations: 0 / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.9322, allocations: 91.09 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9322, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001687/0.9324, allocations: 12 kB / 1.023 GB, free: 56 kB / 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.0001739/0.9326, allocations: 103.2 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.9327, allocations: 45.42 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.9327, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.9328, allocations: 11.28 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.9329, allocations: 15.88 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.9332, allocations: 77.62 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.9334, allocations: 0.6809 MB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.9335, allocations: 11.98 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.9335, allocations: 7.438 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of SimCode: time 4.1e-07/0.9335, allocations: 7.938 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of Templates: time 0.002615/0.9361, allocations: 0.684 MB / 1.025 GB, free: 14.39 MB / 0.6511 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