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.001461/0.001461, allocations: 113.8 kB / 16.42 MB, free: 6.473 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.001667/0.001667, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.432/1.432, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002161/1.022, allocations: 0.6534 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001067/1.023, allocations: 0.8117 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/1.023, allocations: 0 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/1.023, allocations: 3.938 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/1.023, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/1.023, allocations: 11.98 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.037e-05/1.024, allocations: 23.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/1.024, allocations: 4 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.865e-05/1.024, allocations: 15.92 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.053e-05/1.024, allocations: 7.984 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/1.024, allocations: 8 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/1.024, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/1.024, allocations: 4 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/1.024, allocations: 7.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.864e-05/1.024, allocations: 27.83 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/1.024, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.053e-06/1.024, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.024, allocations: 0 / 1.21 GB, free: 12.04 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.0004919/1.025, allocations: 339.5 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.025, allocations: 12.03 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/1.025, allocations: 0.9375 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/1.025, allocations: 172.2 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/1.025, allocations: 384 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/1.025, allocations: 384 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/1.025, allocations: 54.22 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.025, allocations: 192 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/1.025, allocations: 3.938 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.025, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/1.025, allocations: 39.91 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/1.026, allocations: 245 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/1.026, allocations: 42.5 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/1.026, allocations: 28.91 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/1.026, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.026, allocations: 34.55 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.026, allocations: 0 / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003841/1.026, allocations: 85.5 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/1.026, allocations: 55.34 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/1.026, allocations: 106 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.026, allocations: 25.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/1.027, allocations: 84.14 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/1.027, allocations: 3.906 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/1.027, allocations: 17.7 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.027, allocations: 314.8 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/1.027, allocations: 15.92 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/1.027, allocations: 19.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/1.027, allocations: 40.81 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.027, allocations: 3.938 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/1.027, allocations: 65.61 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.027, allocations: 5.719 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.027, allocations: 8.078 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.027, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/1.027, allocations: 8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.027, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/1.028, allocations: 7.984 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/1.028, allocations: 0 / 1.212 GB, free: 10.01 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 9.099e-05/1.028, allocations: 109.8 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/1.028, allocations: 7.938 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/1.028, allocations: 76.72 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.028, allocations: 3.984 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.028, allocations: 0 / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/1.028, allocations: 81.11 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/1.028, allocations: 4 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/1.028, allocations: 4 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/1.028, allocations: 3.984 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002616/1.028, allocations: 148.9 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000273/1.029, allocations: 242.6 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.587e-05/1.029, allocations: 24.05 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.197e-05/1.029, allocations: 79.45 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of Backend: time 4.11e-07/1.029, allocations: 4 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004473/1.029, allocations: 94.39 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005696/1.03, allocations: 0.551 MB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of Templates: time 0.003089/1.033, allocations: 0.5391 MB / 1.214 GB, free: 7.941 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