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.001888/0.001889, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001971/0.001971, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.327/2.327, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 64.64 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2459, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002174/0.2482, allocations: 0.9328 MB / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.2483, allocations: 55.72 kB / 0.9507 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.2484, allocations: 4 kB / 0.9507 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.2485, allocations: 7.922 kB / 0.9508 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.2486, allocations: 7.938 kB / 0.9508 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.195e-05/0.2486, allocations: 23.92 kB / 0.9508 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.2487, allocations: 75.78 kB / 0.9509 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2489, allocations: 53.09 kB / 0.9509 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.249, allocations: 39.8 kB / 0.9509 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.249, allocations: 31.78 kB / 0.951 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2491, allocations: 8 kB / 0.951 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.2491, allocations: 8 kB / 0.951 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.2491, allocations: 27.91 kB / 0.951 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.2492, allocations: 35.75 kB / 0.951 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.2493, allocations: 76.09 kB / 0.9511 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2493, allocations: 7.922 kB / 0.9511 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2493, allocations: 0 / 0.9511 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2493, allocations: 0 / 0.9511 GB, free: 7.855 MB / 0.7325 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.0004721/0.2498, allocations: 395.2 kB / 0.9515 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2498, allocations: 12.03 kB / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.2499, allocations: 8.844 kB / 0.9515 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.2501, allocations: 200.3 kB / 0.9517 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2501, allocations: 12.56 kB / 0.9517 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.2501, allocations: 12.38 kB / 0.9517 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.2503, allocations: 113.1 kB / 0.9518 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.2503, allocations: 4 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2504, allocations: 0 / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.2504, allocations: 0 / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.163e-05/0.2505, allocations: 43.98 kB / 0.9519 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.251, allocations: 468.3 kB / 0.9523 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.2511, allocations: 37.14 kB / 0.9524 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.2511, allocations: 25.83 kB / 0.9524 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2511, allocations: 7.938 kB / 0.9524 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2512, allocations: 30.56 kB / 0.9524 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2512, allocations: 0 / 0.9524 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001662/0.2513, allocations: 57.45 kB / 0.9525 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.2514, allocations: 77.11 kB / 0.9526 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.2516, allocations: 187.2 kB / 0.9527 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2516, allocations: 25.95 kB / 0.9528 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.2517, allocations: 108 kB / 0.9529 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.2517, allocations: 11.89 kB / 0.9529 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.2517, allocations: 21.92 kB / 0.9529 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2518, allocations: 318.8 kB / 0.9532 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.2519, allocations: 15.92 kB / 0.9532 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.2519, allocations: 13.72 kB / 0.9532 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.2519, allocations: 37.66 kB / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2519, allocations: 0 / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.437e-05/0.252, allocations: 57.53 kB / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2521, allocations: 4 kB / 0.9533 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2521, allocations: 4 kB / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2521, allocations: 0 / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.2522, allocations: 7.938 kB / 0.9533 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.2522, allocations: 0 / 0.9533 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.2522, allocations: 23.84 kB / 0.9534 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2522, allocations: 4 kB / 0.9534 GB, free: 5.297 MB / 0.7325 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.626e-05/0.2523, allocations: 119.8 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.2524, allocations: 15.8 kB / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.2524, allocations: 12.56 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2524, allocations: 0 / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2524, allocations: 0 / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2524, allocations: 3.938 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.2528, allocations: 478.8 kB / 0.954 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2528, allocations: 0 / 0.954 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.2528, allocations: 4 kB / 0.954 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2528, allocations: 0 / 0.954 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2528, allocations: 3.938 kB / 0.954 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2528, allocations: 0 / 0.954 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.2529, allocations: 7.984 kB / 0.954 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.706e-05/0.2529, allocations: 81.89 kB / 0.9541 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.253, allocations: 96.91 kB / 0.9542 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.253, allocations: 3.938 kB / 0.9542 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.2531, allocations: 0 / 0.9542 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.2531, allocations: 4 kB / 0.9542 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.2531, allocations: 0 / 0.9542 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001166/0.2532, allocations: 135.2 kB / 0.9543 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2532, allocations: 4.031 kB / 0.9543 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002018/0.2534, allocations: 15.94 kB / 0.9543 GB, free: 4.223 MB / 0.7325 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 9.997e-05/0.2535, allocations: 95.25 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.987e-05/0.2536, allocations: 23.94 kB / 0.9544 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2536, allocations: 3.938 kB / 0.9544 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.2536, allocations: 4 kB / 0.9544 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.2538, allocations: 9.875 kB / 0.9544 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.2542, allocations: 236.7 kB / 0.9547 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2544, allocations: 0.7079 MB / 0.9554 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.2545, allocations: 11.44 kB / 0.9554 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2545, allocations: 0 / 0.9554 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.002357/0.2568, allocations: 0.9847 MB / 0.9563 GB, free: 2.082 MB / 0.7325 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