Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006653/0.006653, allocations: 101.2 kB / 15.73 MB, free: 5.996 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.001614/0.001614, allocations: 189.2 kB / 16.67 MB, free: 5.918 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 68.11 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8932/0.8946, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002262/0.8968, allocations: 0.8661 MB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.897, allocations: 55.72 kB / 1.222 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.8971, allocations: 0 / 1.222 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.29e-05/0.8971, allocations: 15.86 kB / 1.222 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.8972, allocations: 19.81 kB / 1.222 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.45e-05/0.8973, allocations: 23.97 kB / 1.222 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.8974, allocations: 79.83 kB / 1.222 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.8976, allocations: 45.08 kB / 1.222 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.8977, allocations: 35.73 kB / 1.222 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.8977, allocations: 39.78 kB / 1.222 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.8978, allocations: 8 kB / 1.222 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.8978, allocations: 8 kB / 1.222 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.8978, allocations: 15.94 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.8979, allocations: 47.73 kB / 1.222 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.898, allocations: 104 kB / 1.222 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.898, allocations: 3.938 kB / 1.222 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.342e-06/0.898, allocations: 0 / 1.222 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.898, allocations: 4 kB / 1.222 GB, free: 0.7578 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004861/0.8985, allocations: 403.2 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.8986, allocations: 8.031 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.8986, allocations: 16.84 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.8988, allocations: 196.4 kB / 1.223 GB, free: 60 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.8988, allocations: 12.56 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.8989, allocations: 8.375 kB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.899, allocations: 105.6 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8991, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.8991, allocations: 4 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8991, allocations: 4 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.8992, allocations: 47.86 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.8997, allocations: 472.4 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.8998, allocations: 45.14 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.8998, allocations: 17.78 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.8998, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.8999, allocations: 38.56 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8999, allocations: 0 / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.9, allocations: 53.55 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.9001, allocations: 81.09 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.9003, allocations: 178.7 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.9003, allocations: 25.7 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.9003, allocations: 116.3 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.9004, allocations: 11.88 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.9004, allocations: 17.72 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.9005, allocations: 322.8 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.9005, allocations: 4 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.9005, allocations: 21.72 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.9006, allocations: 33.66 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9006, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.934e-05/0.9007, allocations: 61.53 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9007, allocations: 8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9007, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.9007, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.9008, allocations: 4.219 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.9008, allocations: 4 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.9008, allocations: 11.83 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.9008, allocations: 8.062 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.975e-05/0.9009, allocations: 117.8 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.901, allocations: 7.953 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.901, allocations: 16.5 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.901, allocations: 96 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.901, allocations: 4 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.901, allocations: 7.922 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.9014, allocations: 482.8 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9014, allocations: 0 / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.9014, allocations: 4 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.9014, allocations: 0 / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.9014, allocations: 3.938 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.9014, allocations: 7.984 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9014, allocations: 3.938 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.074e-05/0.9015, allocations: 77.97 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.9016, allocations: 93.05 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.9016, allocations: 3.938 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.9016, allocations: 4 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.9016, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.9016, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001027/0.9017, allocations: 136.3 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.9017, allocations: 0 / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001981/0.9019, allocations: 19.92 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001239/0.902, allocations: 95.25 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.9022, allocations: 19.94 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9022, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-05/0.9022, allocations: 11.98 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.9023, allocations: 10.03 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.9027, allocations: 186.8 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.903, allocations: 0.6968 MB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.903, allocations: 8.547 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.9031, allocations: 15.44 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.9031, allocations: 4 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of Templates: time 0.002785/0.9058, allocations: 0.5052 MB / 1.227 GB, free: 11.5 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches