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.00152/0.00152, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 198.9 kB / 16.79 MB, free: 6.828 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.637 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.767/2.767, allocations: 437 MB / 0.7106 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.91 kB / 0.8692 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7557/0.7572, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002442/0.7597, allocations: 0.7279 MB / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.7608, allocations: 0.8078 MB / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.7608, allocations: 0 / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.7609, allocations: 0 / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.761, allocations: 7.938 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.7611, allocations: 7.984 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.7612, allocations: 12 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.7613, allocations: 11.98 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.7614, allocations: 11.88 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.7614, allocations: 15.98 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.7615, allocations: 0 / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.7615, allocations: 0 / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.7615, allocations: 3.938 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.7615, allocations: 11.98 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.968e-05/0.7616, allocations: 19.97 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7616, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7616, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7616, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 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.0004835/0.7621, allocations: 337.4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.7622, allocations: 12.03 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.7622, allocations: 4.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.7624, allocations: 168.3 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.7624, allocations: 4.375 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.7624, allocations: 4.359 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.7626, allocations: 50.23 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7626, allocations: 192 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7626, allocations: 7.875 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7627, allocations: 4 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.7628, allocations: 31.97 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.7632, allocations: 245 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.7633, allocations: 38.5 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.7634, allocations: 20.91 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.7635, allocations: 0 / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.7635, allocations: 42.5 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7635, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.7639, allocations: 73.64 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.7639, allocations: 59.58 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.764, allocations: 101.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.764, allocations: 25.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.7641, allocations: 80.14 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.7641, allocations: 15.84 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.7642, allocations: 9.719 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7643, allocations: 314.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.7644, allocations: 27.92 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.7645, allocations: 15.92 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.7647, allocations: 44.81 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7647, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.7649, allocations: 61.61 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7649, allocations: 12.09 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7649, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7649, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.765, allocations: 7.984 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.765, allocations: 4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.7651, allocations: 15.89 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.7651, allocations: 3.938 kB / 1.021 GB, free: 15.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.7653, allocations: 110.3 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.7653, allocations: 7.938 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.7655, allocations: 72.78 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.7655, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7655, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7656, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.7658, allocations: 161.6 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7658, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.7658, allocations: 11.98 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7658, allocations: 4.031 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.7659, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7659, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7659, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.7661, allocations: 167.4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.7662, allocations: 81.11 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.7662, allocations: 4.031 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.7663, allocations: 7.984 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.7664, allocations: 192 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.7664, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.7664, allocations: 87.27 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7664, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002167/0.7666, allocations: 4 kB / 1.021 GB, free: 14.36 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 (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.0001549/0.7668, allocations: 105.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.767, allocations: 35.97 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.767, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.7671, allocations: 23.92 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.7675, allocations: 9.172 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.7678, allocations: 141.2 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.7682, allocations: 0.677 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.7682, allocations: 11.44 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7682, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.001982/0.7702, allocations: 0.5406 MB / 1.023 GB, free: 12.76 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/jenkins1/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