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.001244/0.001244, 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.001248/0.001248, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.512 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 2.871/2.871, allocations: 469.8 MB / 0.742 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 70.28 kB / 0.908 GB, free: 34.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3329, allocations: 159.1 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002128/0.3351, allocations: 0.9328 MB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001343/0.3352, allocations: 59.64 kB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.3353, allocations: 4 kB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.3353, allocations: 3.938 kB / 1.064 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.3354, allocations: 3.938 kB / 1.064 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.863e-05/0.3355, allocations: 23.98 kB / 1.064 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.3356, allocations: 83.78 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3358, allocations: 57.06 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.3358, allocations: 27.81 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.3359, allocations: 43.72 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3359, allocations: 8 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.3359, allocations: 8 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.3359, allocations: 15.92 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.336, allocations: 43.73 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3361, allocations: 99.83 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3361, allocations: 0 / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3362, allocations: 0 / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3362, allocations: 0 / 1.065 GB, free: 13.23 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.0004902/0.3367, allocations: 399.3 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3367, allocations: 12.03 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.3367, allocations: 12.75 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.337, allocations: 201.7 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.337, allocations: 8.562 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.337, allocations: 12.38 kB / 1.065 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3372, allocations: 101.4 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3372, allocations: 8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3373, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3373, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/0.3374, allocations: 51.91 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.338, allocations: 476.3 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.059e-05/0.338, allocations: 41.09 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.3381, allocations: 21.84 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.3381, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3381, allocations: 34.55 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3381, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001674/0.3383, allocations: 57.55 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3384, allocations: 77.11 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3385, allocations: 186.7 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3386, allocations: 25.7 kB / 1.066 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.3386, allocations: 104 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.3387, allocations: 7.906 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3387, allocations: 17.72 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3388, allocations: 327 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.3389, allocations: 11.94 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.3389, allocations: 21.64 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.339, allocations: 29.72 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.339, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.902e-05/0.3391, allocations: 65.47 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3391, allocations: 5.562 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3391, allocations: 4.094 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3391, allocations: 3.984 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.3392, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3392, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.3392, allocations: 15.88 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-06/0.3392, allocations: 0 / 1.067 GB, free: 10.67 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 8.635e-05/0.3393, allocations: 117.8 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3394, allocations: 15.84 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3394, allocations: 16.55 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3394, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3394, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3394, allocations: 3.938 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.3398, allocations: 474.8 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3399, allocations: 0 / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.3399, allocations: 4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3399, allocations: 4.172 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3399, allocations: 11.81 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3399, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3399, allocations: 4 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.081e-05/0.34, allocations: 73.89 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.3401, allocations: 92.92 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3401, allocations: 11.95 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.3401, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.3402, allocations: 8 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.3402, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000116/0.3403, allocations: 132.3 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3403, allocations: 0 / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001882/0.3405, allocations: 15.94 kB / 1.068 GB, free: 9.594 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.0001241/0.3406, allocations: 103.2 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.3407, allocations: 20 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3407, allocations: 0 / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.3407, allocations: 7.938 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.3409, allocations: 8 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.3412, allocations: 215 kB / 1.068 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3415, allocations: 0.7002 MB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.578e-05/0.3416, allocations: 16.48 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.3416, allocations: 11.44 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3416, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.002818/0.3444, allocations: 0.4966 MB / 1.07 GB, free: 7.953 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