Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001123/0.001123, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001449/0.00145, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.818/2.818, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004078, allocations: 8 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8107, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001197/0.8119, allocations: 0.5667 MB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.812, allocations: 51.72 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.8121, allocations: 3.938 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.8121, allocations: 7.922 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.978e-05/0.8122, allocations: 7.938 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.012e-05/0.8123, allocations: 15.98 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.8124, allocations: 75.77 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.8126, allocations: 45.27 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.937e-05/0.8127, allocations: 15.88 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.8127, allocations: 23.8 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.8127, allocations: 8 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.8128, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.8128, allocations: 15.92 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.8128, allocations: 37.64 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.8129, allocations: 73.94 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8129, allocations: 0 / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8129, allocations: 0 / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.813, allocations: 0 / 1.023 GB, free: 15.12 MB / 0.7794 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.0004253/0.8134, allocations: 379.2 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.8134, allocations: 12.03 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.8135, allocations: 11.81 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.8137, allocations: 211 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.8137, allocations: 4.188 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.8138, allocations: 8 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.8139, allocations: 109.3 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.814, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.814, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.814, allocations: 15.92 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.8141, allocations: 39.98 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.8147, allocations: 468.3 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/0.8148, allocations: 37.22 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.8148, allocations: 17.78 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.8149, allocations: 3.953 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.8149, allocations: 42.48 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.8149, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.8151, allocations: 49.77 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.8152, allocations: 81.14 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.8154, allocations: 186.7 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.8154, allocations: 25.7 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.8155, allocations: 111.9 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.8155, allocations: 7.906 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.8155, allocations: 4 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8156, allocations: 318.8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.8156, allocations: 4 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.8157, allocations: 29.64 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.8157, allocations: 12 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8157, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.655e-05/0.8158, allocations: 53.77 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.8158, allocations: 7.953 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8158, allocations: 7.938 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8158, allocations: 4 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.8159, allocations: 12.05 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8159, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.816, allocations: 11.84 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.816, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/0.8161, allocations: 117.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.8161, allocations: 11.91 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.8162, allocations: 16.5 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.8162, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8162, allocations: 3.938 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.8162, allocations: 4 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.8166, allocations: 478.8 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.8166, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.8166, allocations: 7.938 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.8167, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.8167, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8167, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8167, allocations: 8.062 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.974e-05/0.8168, allocations: 77.8 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.8169, allocations: 92.97 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.8169, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.8169, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.8169, allocations: 7.984 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8169, allocations: 4.031 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001082/0.817, allocations: 136.2 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8171, allocations: 4 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001864/0.8172, allocations: 8 kB / 1.026 GB, free: 11.56 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.8174, allocations: 99.25 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.481e-05/0.8175, allocations: 11.98 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8175, allocations: 4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.8175, allocations: 16.06 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.8177, allocations: 7.984 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.8181, allocations: 220.5 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.8185, allocations: 0.7004 MB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.8185, allocations: 8.547 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.8185, allocations: 15.38 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8186, allocations: 4 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of Templates: time 0.003024/0.8216, allocations: 479.9 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches