Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001077/0.001077, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00127/0.00127, allocations: 198.7 kB / 16.26 MB, free: 6.625 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437 MB / 0.71 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 71.84 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8123, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002748/0.8151, allocations: 0.9309 MB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001943/0.8153, allocations: 59.7 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.8154, allocations: 4 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.697e-05/0.8155, allocations: 7.875 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.8156, allocations: 7.922 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.942e-05/0.8157, allocations: 24 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.8159, allocations: 83.77 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.8161, allocations: 41.09 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.8162, allocations: 35.8 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.8163, allocations: 39.78 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.8163, allocations: 8 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.8163, allocations: 8 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.8164, allocations: 23.86 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.8164, allocations: 43.73 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.8166, allocations: 97.56 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.8166, allocations: 4 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.796e-06/0.8166, allocations: 0 / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8166, allocations: 0 / 1.018 GB, free: 1.32 MB / 0.7637 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.0006432/0.8173, allocations: 404.4 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.8173, allocations: 8.031 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.8174, allocations: 12.84 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.8177, allocations: 204.2 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.8177, allocations: 8.5 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.8178, allocations: 8.375 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.818, allocations: 110.7 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.818, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.818, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.8181, allocations: 8 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.8182, allocations: 47.92 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.8189, allocations: 456.5 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/0.8189, allocations: 45.3 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.819, allocations: 21.83 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.819, allocations: 7.938 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.8191, allocations: 30.56 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.8191, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/0.8193, allocations: 57.67 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.8193, allocations: 81.14 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.8195, allocations: 186.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.8195, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.8196, allocations: 111.9 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.8197, allocations: 3.906 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.8197, allocations: 21.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8198, allocations: 322.8 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.8199, allocations: 15.98 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.8199, allocations: 13.72 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.8199, allocations: 33.59 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8199, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.781e-05/0.82, allocations: 61.53 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.8201, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8201, allocations: 4.062 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8201, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.8202, allocations: 12 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.8202, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.8202, allocations: 19.78 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.8202, allocations: 0 / 1.02 GB, free: 14.76 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.8203, allocations: 117.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.8204, allocations: 7.906 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.8204, allocations: 12.56 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.8204, allocations: 8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8204, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.8204, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.8208, allocations: 474.7 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8208, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.8208, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.8209, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.8209, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8209, allocations: 4.062 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8209, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.126e-05/0.821, allocations: 85.77 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.821, allocations: 96.91 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.8211, allocations: 3.938 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.8211, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.8211, allocations: 4.031 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.8211, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001135/0.8212, allocations: 132.3 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8212, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001813/0.8214, allocations: 12 kB / 1.021 GB, free: 13.7 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 (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.000133/0.8216, allocations: 100 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.8217, allocations: 19.94 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8217, allocations: 4.125 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.8217, allocations: 4 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.8219, allocations: 11.98 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.8223, allocations: 207 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.8226, allocations: 0.6963 MB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.8226, allocations: 8.547 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.8227, allocations: 19.44 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8227, allocations: 3.938 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.002741/0.8254, allocations: 0.5139 MB / 1.023 GB, free: 12.05 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches