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.001935/0.001935, allocations: 108 kB / 15.61 MB, free: 152 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.002509/0.00251, allocations: 197 kB / 16.53 MB, free: 6.664 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.53/1.53, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 73.59 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4163, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002264/0.4187, allocations: 0.6629 MB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.4197, allocations: 0.8022 MB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.4198, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.4198, allocations: 3.938 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.4199, allocations: 0 / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.42, allocations: 19.97 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.4201, allocations: 19.94 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.4202, allocations: 7.984 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.4203, allocations: 11.94 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.4203, allocations: 11.98 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.4203, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.4204, allocations: 15.88 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.4204, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.4204, allocations: 7.938 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.001e-05/0.4205, allocations: 23.94 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4205, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.657e-06/0.4205, allocations: 4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4205, allocations: 3.938 kB / 1.07 GB, free: 8.777 MB / 0.8262 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.0004697/0.421, allocations: 335.8 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.4211, allocations: 8.031 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.4211, allocations: 8.938 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.4212, allocations: 164.3 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.4212, allocations: 4.375 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.4212, allocations: 384 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.4214, allocations: 50.23 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4214, allocations: 192 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4214, allocations: 3.938 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4215, allocations: 7.938 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.4216, allocations: 35.95 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.422, allocations: 244.9 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4221, allocations: 38.5 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.4222, allocations: 28.89 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.4222, allocations: 4 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4222, allocations: 30.56 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4223, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003379/0.4226, allocations: 89.48 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.4226, allocations: 51.41 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.4227, allocations: 102 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4228, allocations: 29.7 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.4228, allocations: 80.14 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.4228, allocations: 11.89 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.4229, allocations: 13.72 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.423, allocations: 310.8 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.4231, allocations: 15.98 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.4231, allocations: 23.97 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.4233, allocations: 32.83 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4233, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.4235, allocations: 77.53 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4235, allocations: 4 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4235, allocations: 0 / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4236, allocations: 8.094 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.4236, allocations: 7.984 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4237, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.4237, allocations: 7.938 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.4237, allocations: 0 / 1.072 GB, free: 6.758 MB / 0.8262 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.347e-05/0.4238, allocations: 115.3 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.4238, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.4241, allocations: 84.7 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4241, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4241, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4241, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4242, allocations: 157.6 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4242, allocations: 192 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.4243, allocations: 15.92 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4243, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.4243, allocations: 3.984 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4243, allocations: 4.031 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4243, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.4246, allocations: 167.4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.4246, allocations: 77.11 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.4247, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.4247, allocations: 15.95 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.4248, allocations: 4 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.4248, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.4248, allocations: 87.27 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4248, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002092/0.4251, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 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.0001437/0.4252, allocations: 95.78 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.4254, allocations: 39.95 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4254, allocations: 0 / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.4255, allocations: 19.98 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.4258, allocations: 17.91 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.4262, allocations: 109.4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.4264, allocations: 0.6808 MB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.4265, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.4265, allocations: 7.438 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4265, allocations: 4 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of Templates: time 0.002335/0.4288, allocations: 431.3 kB / 1.074 GB, free: 4.488 MB / 0.8262 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/jenkins/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