Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.00149/0.00149, allocations: 168.7 kB / 15.95 MB, free: 204 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.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003869, allocations: 12 kB / 0.8722 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.838/0.8384, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001329/0.8398, allocations: 394.3 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.8415, allocations: 0.8001 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.8416, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.8416, allocations: 4 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.8417, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.8419, allocations: 7.984 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.163e-05/0.842, allocations: 19.94 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.8421, allocations: 3.984 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.8422, allocations: 11.94 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.8423, allocations: 7.984 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.8423, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.8423, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.8424, allocations: 7.922 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.8425, allocations: 37.7 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.32e-05/0.8426, allocations: 11.97 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.8426, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8426, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.8426, allocations: 0 / 1.024 GB, free: 14.71 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.0005625/0.8432, allocations: 341.3 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.8432, allocations: 8.562 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.8433, allocations: 8 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.8434, allocations: 163.1 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.8435, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.8435, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.8437, allocations: 53.64 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8437, allocations: 4 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.8438, allocations: 3.984 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.8438, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.844, allocations: 47.91 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.8445, allocations: 248.8 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.8447, allocations: 46.59 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.8449, allocations: 28.91 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.8449, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.8449, allocations: 46.38 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.552e-06/0.845, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004786/0.8454, allocations: 93.77 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.8455, allocations: 59.41 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.8457, allocations: 97.84 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.8457, allocations: 25.7 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.8458, allocations: 84.14 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.8458, allocations: 11.84 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.8459, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.8461, allocations: 310.8 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8463, allocations: 27.97 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.8464, allocations: 19.98 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.8465, allocations: 27.92 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8465, allocations: 4.062 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002728/0.8468, allocations: 77.61 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.8468, allocations: 4 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8469, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8469, allocations: 192 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.847, allocations: 16.02 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.847, allocations: 4 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.8471, allocations: 4 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.8471, allocations: 4 kB / 1.025 GB, free: 12.67 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 0.0001051/0.8472, allocations: 117.8 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.8473, allocations: 7.938 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.8476, allocations: 84.72 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8476, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8476, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.8476, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.8479, allocations: 157.6 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8479, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.848, allocations: 20.02 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.848, allocations: 3.953 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.848, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.848, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.848, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.8484, allocations: 175.5 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.8484, allocations: 85.05 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.8484, allocations: 7.938 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.8486, allocations: 4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.8486, allocations: 4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.8486, allocations: 8.016 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001818/0.8488, allocations: 83.28 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8488, allocations: 3.938 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000364/0.8492, allocations: 4 kB / 1.026 GB, free: 11.82 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.000157/0.8494, allocations: 99.23 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.8497, allocations: 51.95 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8497, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.8498, allocations: 27.92 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.8503, allocations: 0 / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.8506, allocations: 108.8 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.8511, allocations: 0.677 MB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.8511, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.8512, allocations: 11.44 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.8512, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.002998/0.8542, allocations: 345.8 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches