Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008941/0.008941, allocations: 169 kB / 16.26 MB, free: 6.652 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.647/1.647, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.186/3.186, allocations: 470.6 MB / 0.7442 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005356/0.0005357, allocations: 13.77 kB / 0.9123 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4034, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001398/0.4048, allocations: 0.59 MB / 1.07 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001419/0.405, allocations: 47.72 kB / 1.071 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.405, allocations: 4 kB / 1.071 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.4051, allocations: 7.922 kB / 1.071 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.4052, allocations: 7.922 kB / 1.071 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.684e-05/0.4052, allocations: 23.98 kB / 1.071 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.4054, allocations: 75.78 kB / 1.071 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.4056, allocations: 45.09 kB / 1.071 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.4057, allocations: 23.8 kB / 1.071 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.4057, allocations: 27.8 kB / 1.071 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4057, allocations: 4 kB / 1.071 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.4058, allocations: 0 / 1.071 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.4058, allocations: 15.88 kB / 1.071 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.4059, allocations: 61.42 kB / 1.071 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.406, allocations: 91.81 kB / 1.071 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.406, allocations: 0 / 1.071 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.993e-06/0.406, allocations: 0 / 1.071 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.406, allocations: 0 / 1.071 GB, free: 10.38 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005425/0.4066, allocations: 379.5 kB / 1.071 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4066, allocations: 8.031 kB / 1.071 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.4067, allocations: 12.75 kB / 1.071 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.407, allocations: 209.7 kB / 1.071 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.4071, allocations: 4.562 kB / 1.071 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.4072, allocations: 12.38 kB / 1.071 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4074, allocations: 103.5 kB / 1.072 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4074, allocations: 0 / 1.072 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.4074, allocations: 4 kB / 1.072 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.4074, allocations: 7.984 kB / 1.072 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.4075, allocations: 47.92 kB / 1.072 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.4084, allocations: 468.3 kB / 1.072 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.4085, allocations: 45.16 kB / 1.072 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.4085, allocations: 17.78 kB / 1.072 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.4085, allocations: 4 kB / 1.072 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.4086, allocations: 34.55 kB / 1.072 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.4086, allocations: 3.938 kB / 1.072 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/0.4088, allocations: 57.55 kB / 1.072 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.4089, allocations: 77.11 kB / 1.072 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.4091, allocations: 182.7 kB / 1.072 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4091, allocations: 29.7 kB / 1.073 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.4092, allocations: 107.9 kB / 1.073 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.4093, allocations: 3.906 kB / 1.073 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.4093, allocations: 13.72 kB / 1.073 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4095, allocations: 327 kB / 1.073 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.4095, allocations: 8 kB / 1.073 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.4095, allocations: 21.7 kB / 1.073 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.4096, allocations: 25.66 kB / 1.073 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4096, allocations: 0 / 1.073 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.244e-05/0.4097, allocations: 61.55 kB / 1.073 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4097, allocations: 8.047 kB / 1.073 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.4097, allocations: 4 kB / 1.073 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4098, allocations: 4 kB / 1.073 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.4098, allocations: 4 kB / 1.073 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4098, allocations: 0 / 1.073 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.4099, allocations: 15.78 kB / 1.073 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.4099, allocations: 0 / 1.073 GB, free: 7.844 MB / 0.8262 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 0.0001128/0.41, allocations: 113.8 kB / 1.073 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.4101, allocations: 11.91 kB / 1.073 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.4101, allocations: 20.55 kB / 1.073 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4101, allocations: 0 / 1.073 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4101, allocations: 0 / 1.073 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4101, allocations: 7.938 kB / 1.073 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.4106, allocations: 478.8 kB / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4106, allocations: 96 / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.4107, allocations: 4.109 kB / 1.074 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4107, allocations: 7.922 kB / 1.074 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4107, allocations: 8 kB / 1.074 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4107, allocations: 0 / 1.074 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4107, allocations: 0 / 1.074 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.4108, allocations: 89.73 kB / 1.074 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.4109, allocations: 85.02 kB / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.4109, allocations: 7.922 kB / 1.074 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.454e-05/0.4109, allocations: 8.031 kB / 1.074 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.411, allocations: 4 kB / 1.074 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.411, allocations: 0 / 1.074 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001326/0.4111, allocations: 132.3 kB / 1.074 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.4111, allocations: 0 / 1.074 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001881/0.4113, allocations: 15.88 kB / 1.074 GB, free: 6.762 MB / 0.8262 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.0001594/0.4115, allocations: 99.23 kB / 1.074 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.4116, allocations: 23.94 kB / 1.074 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4116, allocations: 0 / 1.074 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.4116, allocations: 8 kB / 1.074 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.4118, allocations: 8 kB / 1.074 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.4122, allocations: 216.7 kB / 1.074 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.4127, allocations: 0.7003 MB / 1.075 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.548e-05/0.4128, allocations: 8.547 kB / 1.075 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.4128, allocations: 19.44 kB / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.4128, allocations: 0 / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of Templates: time 0.003118/0.416, allocations: 474.2 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches