Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.00158/0.00158, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.001919/0.001919, allocations: 193 kB / 16.91 MB, free: 6.195 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.253/2.253, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.45 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002448/0.282, allocations: 0.9355 MB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001506/0.2822, allocations: 51.72 kB / 0.9507 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.2823, allocations: 4 kB / 0.9507 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.2823, allocations: 3.938 kB / 0.9507 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.2824, allocations: 7.922 kB / 0.9507 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.306e-05/0.2825, allocations: 16 kB / 0.9508 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2826, allocations: 79.78 kB / 0.9508 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2828, allocations: 65.06 kB / 0.9509 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.2829, allocations: 31.8 kB / 0.9509 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.2829, allocations: 39.73 kB / 0.951 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.2829, allocations: 8 kB / 0.951 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.283, allocations: 8 kB / 0.951 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.283, allocations: 15.92 kB / 0.951 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.283, allocations: 47.73 kB / 0.951 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.2832, allocations: 72.08 kB / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2832, allocations: 0 / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2832, allocations: 0 / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2832, allocations: 0 / 0.9511 GB, free: 7.848 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.0004737/0.2837, allocations: 403.2 kB / 0.9515 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2837, allocations: 8.031 kB / 0.9515 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.2838, allocations: 8.844 kB / 0.9515 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.284, allocations: 208.2 kB / 0.9517 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.284, allocations: 8.562 kB / 0.9517 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.284, allocations: 12.38 kB / 0.9517 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.2842, allocations: 113.5 kB / 0.9518 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2842, allocations: 0 / 0.9518 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2843, allocations: 0 / 0.9518 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2843, allocations: 4 kB / 0.9518 GB, free: 7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.2844, allocations: 51.91 kB / 0.9519 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.285, allocations: 468.3 kB / 0.9523 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.823e-05/0.2851, allocations: 41.14 kB / 0.9524 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.2851, allocations: 17.78 kB / 0.9524 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.2851, allocations: 4 kB / 0.9524 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.2851, allocations: 34.56 kB / 0.9524 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2852, allocations: 0 / 0.9524 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001887/0.2853, allocations: 61.44 kB / 0.9525 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.2854, allocations: 81.11 kB / 0.9526 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.2856, allocations: 179.5 kB / 0.9527 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2856, allocations: 29.7 kB / 0.9528 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.2857, allocations: 108 kB / 0.9529 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.2857, allocations: 7.906 kB / 0.9529 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.2857, allocations: 13.94 kB / 0.9529 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2859, allocations: 326.8 kB / 0.9532 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.2859, allocations: 11.94 kB / 0.9532 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.2859, allocations: 25.64 kB / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.286, allocations: 25.72 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.286, allocations: 0 / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.522e-05/0.2861, allocations: 61.55 kB / 0.9533 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2861, allocations: 4 kB / 0.9533 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2861, allocations: 0 / 0.9533 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2861, allocations: 0 / 0.9533 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.2862, allocations: 11.98 kB / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2862, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.2862, allocations: 19.84 kB / 0.9534 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.2863, allocations: 0 / 0.9534 GB, free: 5.285 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 8.596e-05/0.2863, allocations: 117.3 kB / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.2864, allocations: 11.81 kB / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.2864, allocations: 16.55 kB / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2864, allocations: 0 / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2864, allocations: 4 kB / 0.9535 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2865, allocations: 7.875 kB / 0.9535 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.2868, allocations: 474.8 kB / 0.954 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2869, allocations: 0 / 0.954 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.2869, allocations: 4 kB / 0.954 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2869, allocations: 0 / 0.954 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.2869, allocations: 11.88 kB / 0.954 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2869, allocations: 0 / 0.954 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2869, allocations: 0 / 0.954 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.983e-05/0.287, allocations: 81.95 kB / 0.9541 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.2871, allocations: 88.92 kB / 0.9541 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.2871, allocations: 11.94 kB / 0.9541 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.2871, allocations: 0 / 0.9541 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.2871, allocations: 3.984 kB / 0.9542 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2872, allocations: 0 / 0.9542 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001142/0.2873, allocations: 135.2 kB / 0.9543 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2873, allocations: 4.031 kB / 0.9543 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001908/0.2875, allocations: 11.94 kB / 0.9543 GB, free: 4.215 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 0.0001241/0.2876, allocations: 103.2 kB / 0.9544 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.2877, allocations: 19.98 kB / 0.9544 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2877, allocations: 3.938 kB / 0.9544 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.2877, allocations: 7.938 kB / 0.9544 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.2879, allocations: 8.25 kB / 0.9544 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.2883, allocations: 248.3 kB / 0.9547 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2886, allocations: 0.7002 MB / 0.9554 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2886, allocations: 11.44 kB / 0.9554 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2886, allocations: 0 / 0.9554 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of Templates: time 0.002518/0.2911, allocations: 0.9847 MB / 0.9563 GB, free: 2.066 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches