Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_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_latest_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.001624/0.001624, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001929/0.001929, allocations: 183 kB / 17.34 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.89 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7824, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001859/0.7843, allocations: 0.6649 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.7853, allocations: 0.7962 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.7853, allocations: 4 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.7853, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.7854, allocations: 11.94 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.7856, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.7857, allocations: 27.92 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.7858, allocations: 7.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.7858, allocations: 11.92 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.7859, allocations: 11.98 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.7859, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.7859, allocations: 4 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.786, allocations: 4 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.786, allocations: 11.94 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.938e-05/0.7861, allocations: 19.91 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7861, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7861, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.7861, allocations: 0 / 1.21 GB, free: 12.02 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.0004496/0.7866, allocations: 331.5 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7866, allocations: 12.03 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.7867, allocations: 4.922 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.7868, allocations: 168.2 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.7868, allocations: 12.31 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.7868, allocations: 384 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.787, allocations: 54.22 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.7871, allocations: 192 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.7871, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.7871, allocations: 4 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.7873, allocations: 31.97 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.7876, allocations: 253 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.7877, allocations: 46.44 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.7878, allocations: 16.91 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.7879, allocations: 3.984 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.7879, allocations: 42.56 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.7879, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003519/0.7883, allocations: 81.48 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.7883, allocations: 59.34 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.7884, allocations: 97.86 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.7884, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.7885, allocations: 80.27 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.7885, allocations: 11.91 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.7885, allocations: 17.7 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7887, allocations: 310.8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.7888, allocations: 19.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.7888, allocations: 11.98 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.789, allocations: 44.88 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.789, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001979/0.7892, allocations: 73.48 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7892, allocations: 11.98 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.7892, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7893, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.7894, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.7894, allocations: 8.031 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.7894, allocations: 3.984 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.7894, allocations: 4 kB / 1.212 GB, free: 9.988 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 8.349e-05/0.7895, allocations: 109.8 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.7896, allocations: 0 / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.7898, allocations: 76.77 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.7898, allocations: 4.031 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7898, allocations: 0 / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7898, allocations: 0 / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.79, allocations: 157.6 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.79, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.7901, allocations: 15.92 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7901, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.7901, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7901, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7901, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.7904, allocations: 171.4 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.7904, allocations: 81.11 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.7904, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.7905, allocations: 11.92 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.7906, allocations: 4 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.7906, allocations: 0 / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.7906, allocations: 95.47 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7906, allocations: 0 / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002271/0.7909, allocations: 4 kB / 1.212 GB, free: 9.172 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.0001384/0.791, allocations: 101 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.7913, allocations: 35.97 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7913, allocations: 0 / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/0.7914, allocations: 28.03 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.7917, allocations: 3.938 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.7921, allocations: 135.2 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.7923, allocations: 0.6768 MB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.7924, allocations: 11.44 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.7924, allocations: 0 / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of Templates: time 0.00198/0.7944, allocations: 0.5452 MB / 1.214 GB, free: 7.574 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches