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.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.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.0009963/0.0009965, allocations: 99.55 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.001066/0.001066, 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.498/1.498, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.808/2.808, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 16 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8167, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001085/0.8178, allocations: 394.3 kB / 1.021 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.819, allocations: 0.7963 MB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.819, allocations: 0 / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.8191, allocations: 3.938 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.329e-05/0.8191, allocations: 3.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.8193, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.8194, allocations: 19.98 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.8195, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.726e-05/0.8196, allocations: 11.92 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.8196, allocations: 11.98 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.8196, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.8197, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.8197, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.8197, allocations: 33.64 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.682e-05/0.8198, allocations: 15.95 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8198, allocations: 4 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8198, allocations: 4 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.8198, allocations: 0 / 1.022 GB, free: 15.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004949/0.8203, allocations: 341.2 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8204, allocations: 11.98 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.8204, allocations: 3.984 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.8206, allocations: 163.1 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.8206, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.8206, allocations: 8 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.8208, allocations: 53.62 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.8208, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.8208, allocations: 4 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.8208, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.821, allocations: 51.91 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.8214, allocations: 248.9 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.8216, allocations: 42.56 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.8216, allocations: 0 / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.8216, allocations: 30.56 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8216, allocations: 0 / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004533/0.8221, allocations: 105.5 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.8222, allocations: 51.41 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.8222, allocations: 101.8 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.8223, allocations: 25.7 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.8223, allocations: 84.14 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.8223, allocations: 11.84 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.8224, allocations: 4.125 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.8225, allocations: 314.8 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.8226, allocations: 19.98 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.8227, allocations: 19.98 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.215e-05/0.8228, allocations: 28.05 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8228, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/0.823, allocations: 81.55 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.823, allocations: 8.031 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.823, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.823, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.8231, allocations: 11.98 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.8231, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.8232, allocations: 8.188 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.8232, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.8233, allocations: 125.8 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.8233, allocations: 7.938 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.8236, allocations: 80.72 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8236, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8236, allocations: 4.031 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8236, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.8238, allocations: 161.6 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8238, allocations: 3.984 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.8239, allocations: 8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.8239, allocations: 7.953 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.8239, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8239, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8239, allocations: 4 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.8242, allocations: 175.4 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.8242, allocations: 81.09 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.8242, allocations: 7.953 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.8243, allocations: 8.031 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.8244, allocations: 3.984 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.8244, allocations: 4 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.523e-05/0.8244, allocations: 83.22 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8244, allocations: 4 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002072/0.8247, allocations: 0 / 1.025 GB, free: 12.93 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: 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 (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.0001451/0.8248, allocations: 99.25 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.825, allocations: 47.95 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.825, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.8251, allocations: 28.05 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.8253, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.8257, allocations: 108.6 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.826, allocations: 0.6809 MB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.826, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.8261, allocations: 11.44 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8261, allocations: 4.062 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.00233/0.8284, allocations: 351.3 kB / 1.026 GB, free: 11.55 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches