Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 98.69 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.001482/0.001482, allocations: 177.3 kB / 15.95 MB, free: 216 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.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 11.98 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8307, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008616/0.8316, allocations: 316.5 kB / 1.021 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.833, allocations: 1.074 MB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.833, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.833, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.8331, allocations: 11.98 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.8336, allocations: 102.5 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.28e-05/0.8337, allocations: 43.94 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.116e-05/0.8338, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.8339, allocations: 39.91 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.834, allocations: 19.97 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.834, allocations: 4 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.8341, allocations: 15.98 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.8341, allocations: 7.938 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.8341, allocations: 29.7 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.8343, allocations: 59.86 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8343, allocations: 0 / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8343, allocations: 0 / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.8343, allocations: 3.938 kB / 1.022 GB, free: 15.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004464/0.8347, allocations: 363 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.8348, allocations: 11.98 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.8348, allocations: 7.984 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.835, allocations: 167 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.835, allocations: 4 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.8351, allocations: 4 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.8352, allocations: 41.64 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8352, allocations: 4 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.8352, allocations: 0 / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8352, allocations: 3.938 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.8353, allocations: 11.94 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.8357, allocations: 288.8 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.748e-05/0.8357, allocations: 22.56 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.8357, allocations: 4 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.8359, allocations: 67.39 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.8359, allocations: 0 / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002155/0.8361, allocations: 57.67 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.8362, allocations: 51.41 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.8363, allocations: 109.8 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.8363, allocations: 29.7 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.8364, allocations: 84.05 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.8364, allocations: 11.98 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.8364, allocations: 0 / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8366, allocations: 318.8 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.8366, allocations: 35.91 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.8367, allocations: 42.56 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.195e-05/0.8368, allocations: 57.69 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8368, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002546/0.8371, allocations: 151.2 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.8371, allocations: 39.05 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8372, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.8372, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.967e-05/0.8372, allocations: 7.984 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.8372, allocations: 0 / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.8375, allocations: 35.97 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.8375, allocations: 8 kB / 1.024 GB, free: 13.14 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 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 9.9e-05/0.8376, allocations: 113.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.8376, allocations: 11.88 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.8376, allocations: 3.906 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.8377, allocations: 4 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8377, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.8377, allocations: 3.938 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.8378, allocations: 157.7 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8378, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.8378, allocations: 7.984 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.8378, allocations: 3.953 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.8379, allocations: 4.25 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8379, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8379, allocations: 4 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.838, allocations: 81.03 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.838, allocations: 77.11 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.838, allocations: 3.953 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.8381, allocations: 7.984 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.8381, allocations: 4 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.8381, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.8382, allocations: 87.22 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8382, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002217/0.8384, allocations: 19.98 kB / 1.025 GB, free: 12.45 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,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001718/0.8386, allocations: 99.25 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.8388, allocations: 123.4 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8388, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.8388, allocations: 15.94 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.839, allocations: 11.92 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.8393, allocations: 127 kB / 1.025 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.8395, allocations: 0.6811 MB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.8396, allocations: 4 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.8396, allocations: 7.438 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.8396, allocations: 0 / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.003523/0.8431, allocations: 0.9819 MB / 1.027 GB, free: 10.34 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches