Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001168/0.001168, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001206/0.001206, allocations: 189.7 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8017, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001849/0.8036, allocations: 0.8759 MB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.8037, allocations: 50.25 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.8038, allocations: 6.25 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.8038, allocations: 13.69 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.545e-05/0.8039, allocations: 14.89 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.768e-05/0.804, allocations: 26.75 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.8041, allocations: 79.41 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.8042, allocations: 50.14 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.8043, allocations: 32.56 kB / 1.09 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.8044, allocations: 36.48 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.8044, allocations: 9.031 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.8044, allocations: 6.906 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.8044, allocations: 19.03 kB / 1.09 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.8045, allocations: 49.66 kB / 1.09 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.8046, allocations: 103.1 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8046, allocations: 0 / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8046, allocations: 0 / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8046, allocations: 0.75 kB / 1.09 GB, free: 4.664 MB / 0.8575 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.0003527/0.805, allocations: 398 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.805, allocations: 9.531 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.8051, allocations: 15.27 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.8052, allocations: 209.2 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.8053, allocations: 4.781 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.8053, allocations: 13.69 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.8054, allocations: 107.6 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.8055, allocations: 0 / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.8055, allocations: 5.406 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.8055, allocations: 6.5 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.8056, allocations: 39.34 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.806, allocations: 470 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.257e-05/0.8061, allocations: 38.14 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.8061, allocations: 20.2 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.8061, allocations: 1.031 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.8061, allocations: 36.81 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8062, allocations: 0 / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.8063, allocations: 61.84 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.8063, allocations: 78.94 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.8065, allocations: 188.6 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.8065, allocations: 26.83 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.8066, allocations: 109.3 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.8066, allocations: 17.78 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.8066, allocations: 13.73 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.8067, allocations: 325 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.8067, allocations: 7.859 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.8067, allocations: 24.45 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.8067, allocations: 22.28 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8067, allocations: 4.812 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.622e-05/0.8068, allocations: 66.03 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.8068, allocations: 6.297 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8069, allocations: 1.031 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.8069, allocations: 1 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.8069, allocations: 6.062 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.8069, allocations: 1.031 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.807, allocations: 10.39 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.807, allocations: 2.25 kB / 1.092 GB, free: 2.523 MB / 0.8575 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 5.122e-05/0.807, allocations: 122.8 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.8071, allocations: 13.09 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.8071, allocations: 18.02 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.8071, allocations: 1.062 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8071, allocations: 1.719 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8071, allocations: 7.875 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.8074, allocations: 477.1 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8074, allocations: 0 / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.8075, allocations: 3.875 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8075, allocations: 1.031 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.8075, allocations: 5.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8075, allocations: 0.6094 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8075, allocations: 1.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.28e-05/0.8076, allocations: 80.72 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.8076, allocations: 92.08 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.8076, allocations: 5.562 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.8077, allocations: 1.984 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.8077, allocations: 4.641 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.8077, allocations: 1.312 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.239e-05/0.8078, allocations: 137.4 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8078, allocations: 0 / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001879/0.808, allocations: 8.25 kB / 1.093 GB, free: 1.598 MB / 0.8575 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 8.724e-05/0.8081, allocations: 102.5 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.851e-05/0.8082, allocations: 19.7 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8082, allocations: 0.5938 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.8082, allocations: 8.391 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.8083, allocations: 8.062 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.8086, allocations: 210.3 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.8088, allocations: 0.6984 MB / 1.094 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.8089, allocations: 12.81 kB / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.8089, allocations: 0 / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.002519/0.8114, allocations: 0.9948 MB / 1.095 GB, free: 16.5 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches