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.001177/0.001177, allocations: 102.3 kB / 16.4 MB, free: 6.406 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: 192.2 kB / 17.35 MB, free: 5.695 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.485/2.485, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.00233/1.029, allocations: 0.8784 MB / 1.168 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001836/1.029, allocations: 51.78 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/1.03, allocations: 7.938 kB / 1.168 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.064e-05/1.03, allocations: 11.86 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.614e-05/1.03, allocations: 11.88 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.066e-05/1.03, allocations: 27.97 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/1.03, allocations: 75.78 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/1.03, allocations: 53.08 kB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.633e-05/1.03, allocations: 35.78 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/1.03, allocations: 39.78 kB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/1.03, allocations: 8 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/1.03, allocations: 8 kB / 1.168 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/1.03, allocations: 19.88 kB / 1.169 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/1.03, allocations: 43.73 kB / 1.169 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/1.031, allocations: 99.39 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.031, allocations: 0 / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/1.031, allocations: 0 / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.704e-06/1.031, allocations: 8 kB / 1.169 GB, free: 2.441 MB / 0.8887 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.0005038/1.031, allocations: 397.2 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.031, allocations: 8.922 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/1.031, allocations: 16.75 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/1.032, allocations: 200.3 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.032, allocations: 8.562 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/1.032, allocations: 8.375 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/1.032, allocations: 116.9 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.032, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.032, allocations: 3.938 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.032, allocations: 4 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/1.032, allocations: 43.92 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/1.032, allocations: 468.3 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.581e-05/1.033, allocations: 41.16 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/1.033, allocations: 21.77 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/1.033, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/1.033, allocations: 38.5 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.033, allocations: 0 / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/1.033, allocations: 49.61 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.033, allocations: 85.05 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/1.033, allocations: 179.8 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/1.033, allocations: 25.7 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/1.033, allocations: 112 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/1.033, allocations: 3.906 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/1.033, allocations: 25.61 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.033, allocations: 331 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/1.033, allocations: 4 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/1.033, allocations: 17.72 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/1.033, allocations: 25.8 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/1.033, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.466e-05/1.034, allocations: 69.56 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.034, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.034, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/1.034, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/1.034, allocations: 8 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.034, allocations: 224 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/1.034, allocations: 15.78 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/1.034, allocations: 7.938 kB / 1.171 GB, free: 15.88 MB / 0.9044 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.862e-05/1.034, allocations: 122.3 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/1.034, allocations: 7.906 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/1.034, allocations: 16.59 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.034, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.034, allocations: 4 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.034, allocations: 3.938 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/1.034, allocations: 470.8 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.034, allocations: 0 / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/1.034, allocations: 4 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.034, allocations: 4.062 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/1.034, allocations: 7.938 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.034, allocations: 0 / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.034, allocations: 0 / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.31e-05/1.035, allocations: 85.77 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/1.035, allocations: 96.98 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/1.035, allocations: 11.97 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/1.035, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/1.035, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/1.035, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001106/1.035, allocations: 140.3 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.035, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001992/1.035, allocations: 12 kB / 1.172 GB, free: 14.8 MB / 0.9044 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.0001258/1.035, allocations: 99.25 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001037/1.035, allocations: 19.94 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.035, allocations: 0 / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/1.035, allocations: 8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/1.035, allocations: 9.703 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/1.036, allocations: 208.4 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/1.036, allocations: 0.7043 MB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/1.036, allocations: 11.44 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/1.036, allocations: 0 / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.002453/1.039, allocations: 1 MB / 1.174 GB, free: 12.68 MB / 0.9044 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/jenkins1/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