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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001905/0.001905, allocations: 111.2 kB / 16.42 MB, free: 6.465 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.002316/0.002316, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 472.7 MB / 0.746 GB, free: 476 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9342/0.9357, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002255/0.938, allocations: 0.6734 MB / 1.227 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.9391, allocations: 0.7962 MB / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.9391, allocations: 0 / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.9392, allocations: 0 / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.9393, allocations: 7.938 kB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.9395, allocations: 11.98 kB / 1.228 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.9396, allocations: 23.92 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.9397, allocations: 4 kB / 1.228 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.479e-05/0.9398, allocations: 15.92 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.9398, allocations: 4 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.9398, allocations: 0 / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.9399, allocations: 7.938 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.9399, allocations: 7.984 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.9399, allocations: 11.92 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.94, allocations: 23.97 kB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9401, allocations: 0 / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9401, allocations: 0 / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.9401, allocations: 0 / 1.228 GB, free: 11.87 MB / 0.9512 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.0005236/0.9406, allocations: 339 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.9407, allocations: 8.031 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.9407, allocations: 8.891 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.9408, allocations: 165.4 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.9409, allocations: 384 / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.9409, allocations: 8.375 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.9411, allocations: 46.19 kB / 1.229 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9411, allocations: 192 / 1.229 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.9411, allocations: 11.92 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.9411, allocations: 0 / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.9413, allocations: 27.97 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.9417, allocations: 248.9 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.9418, allocations: 46.53 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.9419, allocations: 24.91 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.9419, allocations: 3.938 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.942, allocations: 30.56 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.942, allocations: 4 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003557/0.9423, allocations: 85.58 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.9424, allocations: 51.41 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.9424, allocations: 101.8 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.9425, allocations: 29.7 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.9425, allocations: 88.03 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.9426, allocations: 8.078 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.9426, allocations: 13.72 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9427, allocations: 318.8 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.9428, allocations: 11.98 kB / 1.23 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.9429, allocations: 19.98 kB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.943, allocations: 36.89 kB / 1.23 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.943, allocations: 0 / 1.23 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.9432, allocations: 73.53 kB / 1.23 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.9432, allocations: 4 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9433, allocations: 4 kB / 1.23 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.9433, allocations: 4 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.9434, allocations: 7.984 kB / 1.23 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.9434, allocations: 0 / 1.23 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.9435, allocations: 12.02 kB / 1.23 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.9435, allocations: 0 / 1.23 GB, free: 9.844 MB / 0.9512 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.35e-05/0.9436, allocations: 114.4 kB / 1.23 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.9436, allocations: 3.938 kB / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.9438, allocations: 72.72 kB / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.9438, allocations: 0 / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9438, allocations: 4.031 kB / 1.23 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.9439, allocations: 81.23 kB / 1.23 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.9439, allocations: 3.984 kB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.944, allocations: 11.98 kB / 1.23 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.944, allocations: 0 / 1.23 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002511/0.9443, allocations: 152.9 kB / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002647/0.9446, allocations: 242.7 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.037e-05/0.9447, allocations: 19.98 kB / 1.23 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.9447, allocations: 83.27 kB / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of Backend: time 3.51e-07/0.9447, allocations: 0 / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.9452, allocations: 99.83 kB / 1.231 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005237/0.9457, allocations: 0.553 MB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of Templates: time 0.002972/0.9487, allocations: 0.5298 MB / 1.232 GB, free: 7.785 MB / 0.9512 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