Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001491/0.001491, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.659/2.659, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003679, allocations: 15.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8303, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001088/0.8314, allocations: 441.5 kB / 1.021 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.8331, allocations: 1.101 MB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.8331, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.8331, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.8333, allocations: 11.98 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.8338, allocations: 110.8 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.8339, allocations: 55.94 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.8341, allocations: 11.98 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.8342, allocations: 35.91 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.8343, allocations: 27.84 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.8343, allocations: 4 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.8344, allocations: 19.98 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.8344, allocations: 11.97 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.8345, allocations: 33.7 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.8347, allocations: 95.77 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8347, allocations: 3.938 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.128e-06/0.8347, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8347, allocations: 3.938 kB / 1.023 GB, free: 15.16 MB / 0.7794 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.0005519/0.8352, allocations: 386.8 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.8353, allocations: 8.031 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.8354, allocations: 4 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.8356, allocations: 178.9 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.8356, allocations: 4 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.8357, allocations: 8 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.8358, allocations: 45.64 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8359, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.8359, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.8359, allocations: 8 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.836, allocations: 19.91 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.8367, allocations: 328.8 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.8368, allocations: 26.58 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.8368, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.837, allocations: 67.39 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.837, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003324/0.8374, allocations: 81.58 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.8375, allocations: 51.41 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.8376, allocations: 121.8 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.8377, allocations: 29.7 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.8378, allocations: 96.03 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.8378, allocations: 3.906 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.8379, allocations: 8 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.8381, allocations: 318.8 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.8382, allocations: 35.98 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.8384, allocations: 58.5 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.8385, allocations: 61.69 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/0.8386, allocations: 3.953 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003916/0.839, allocations: 171.3 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.839, allocations: 37.7 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8391, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.8391, allocations: 3.984 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.8392, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8392, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.8395, allocations: 47.88 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.8396, allocations: 8 kB / 1.025 GB, free: 12.73 MB / 0.7794 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.8397, allocations: 117.8 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.8398, allocations: 7.953 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.8398, allocations: 7.844 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8398, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.8398, allocations: 4 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8398, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.8401, allocations: 177.6 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8401, allocations: 3.938 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.8401, allocations: 11.95 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.8401, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.8401, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8402, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8402, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.8404, allocations: 89.02 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.8404, allocations: 89.02 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.8405, allocations: 3.953 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.704e-05/0.8405, allocations: 4 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.8406, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.8406, allocations: 3.984 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.893e-05/0.8407, allocations: 95.28 kB / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8407, allocations: 0 / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003428/0.841, allocations: 19.98 kB / 1.025 GB, free: 12 MB / 0.7794 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 (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.0002338/0.8413, allocations: 111.2 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.8416, allocations: 135.7 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8416, allocations: 3.938 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.8417, allocations: 24 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.842, allocations: 12.77 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.8424, allocations: 155.2 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.8427, allocations: 0.6906 MB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.8428, allocations: 192 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.8428, allocations: 11.44 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8428, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.004889/0.8477, allocations: 1.242 MB / 1.028 GB, free: 9.578 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches