Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 110.4 kB / 16.41 MB, free: 6.488 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.001788/0.001788, allocations: 186.9 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 67.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9323/0.9339, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001995/0.9359, allocations: 0.665 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000944/0.9369, allocations: 0.7962 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.937, allocations: 4 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.937, allocations: 7.875 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.9371, allocations: 4 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.9372, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.9373, allocations: 31.91 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.9374, allocations: 11.98 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.9375, allocations: 7.938 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.9376, allocations: 11.98 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.9376, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-06/0.9376, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.9376, allocations: 7.938 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.9376, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.481e-05/0.9377, allocations: 31.83 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9377, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9378, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.9378, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004656/0.9382, allocations: 331.5 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9383, allocations: 16.02 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.9383, allocations: 4.938 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.9385, allocations: 164.2 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.9385, allocations: 4.359 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.9385, allocations: 4.375 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.9387, allocations: 54.23 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.9387, allocations: 192 / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.9387, allocations: 3.938 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9387, allocations: 3.938 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.9389, allocations: 39.89 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.9393, allocations: 245 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.9394, allocations: 42.5 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.9395, allocations: 16.91 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.9395, allocations: 3.984 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.9396, allocations: 38.56 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9396, allocations: 0 / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.9399, allocations: 85.48 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.94, allocations: 51.41 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.9401, allocations: 101.9 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.9401, allocations: 25.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.9401, allocations: 80.14 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.9402, allocations: 7.906 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.9402, allocations: 17.83 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.9403, allocations: 314.8 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.9404, allocations: 15.98 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.9405, allocations: 15.98 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.9407, allocations: 52.69 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9407, allocations: 64 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.9409, allocations: 69.59 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.9409, allocations: 8 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9409, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.9409, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.941, allocations: 4 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.941, allocations: 0 / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.9411, allocations: 7.984 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.9411, allocations: 8.031 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/0.9412, allocations: 109.8 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.9412, allocations: 0 / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.9414, allocations: 80.7 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9415, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9415, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9415, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.9417, allocations: 165.6 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9417, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.9417, allocations: 15.92 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9417, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.9418, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9418, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9418, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.942, allocations: 175.3 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.9421, allocations: 77.11 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.9421, allocations: 4 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.9422, allocations: 4.172 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.9422, allocations: 4 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.9422, allocations: 3.984 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.9423, allocations: 87.27 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9423, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000215/0.9425, allocations: 8.031 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.9427, allocations: 97.08 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.9429, allocations: 35.97 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9429, allocations: 0 / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.943, allocations: 23.91 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.9433, allocations: 12.06 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.9436, allocations: 135.2 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.9439, allocations: 0.6768 MB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.9439, allocations: 7.438 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.9439, allocations: 3.938 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.00177/0.9457, allocations: 0.5371 MB / 1.214 GB, free: 7.566 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches