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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001274/0.001274, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.486/1.486, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.615/2.615, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.88 kB / 0.8119 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8196/0.8216, allocations: 140.3 MB / 0.9489 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003363/0.825, allocations: 0.9262 MB / 0.9498 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001303/0.8252, allocations: 66.52 kB / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.8252, allocations: 1.375 kB / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.8253, allocations: 3.938 kB / 0.9499 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.8254, allocations: 9.297 kB / 0.9499 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.264e-05/0.8255, allocations: 24.11 kB / 0.9499 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.8256, allocations: 72.66 kB / 0.95 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.8258, allocations: 50.95 kB / 0.95 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.8258, allocations: 29.44 kB / 0.9501 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.8259, allocations: 37.16 kB / 0.9501 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.8259, allocations: 5.25 kB / 0.9501 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.8259, allocations: 4.406 kB / 0.9501 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.826, allocations: 15.2 kB / 0.9501 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.826, allocations: 47.66 kB / 0.9502 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.8262, allocations: 86.33 kB / 0.9503 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.8262, allocations: 0 / 0.9503 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8262, allocations: 3.938 kB / 0.9503 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8262, allocations: 0.9375 kB / 0.9503 GB, free: 8.363 MB / 0.7169 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.0004413/0.8266, allocations: 396.4 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8267, allocations: 8.844 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.8267, allocations: 10.44 kB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.8269, allocations: 206 kB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.827, allocations: 16.39 kB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.827, allocations: 10.75 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.8272, allocations: 99.61 kB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.8272, allocations: 0 / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8272, allocations: 5.344 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.8272, allocations: 2.344 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.224e-05/0.8273, allocations: 47.16 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.8279, allocations: 465.3 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/0.8279, allocations: 42.89 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.828, allocations: 24.58 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.828, allocations: 4.219 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.828, allocations: 36.3 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8281, allocations: 3.938 kB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002152/0.8283, allocations: 51.58 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.8283, allocations: 77.11 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.8285, allocations: 186.4 kB / 0.9519 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.8285, allocations: 29.95 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.8286, allocations: 114.2 kB / 0.952 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.8286, allocations: 5.156 kB / 0.952 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.8287, allocations: 17.09 kB / 0.952 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.8288, allocations: 325.2 kB / 0.9523 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.8288, allocations: 11.19 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.8288, allocations: 22.33 kB / 0.9524 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.342e-05/0.8289, allocations: 27 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.8289, allocations: 0 / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.337e-05/0.829, allocations: 59.73 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.829, allocations: 10.86 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.829, allocations: 1.688 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.829, allocations: 0 / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.8291, allocations: 5.406 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8291, allocations: 5.516 kB / 0.9525 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.8292, allocations: 22.06 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.8292, allocations: 1.594 kB / 0.9525 GB, free: 6.113 MB / 0.7169 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.579e-05/0.8293, allocations: 113.8 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.8293, allocations: 9.375 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.8294, allocations: 16.73 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8294, allocations: 0 / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.8294, allocations: 1.406 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8294, allocations: 3.938 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.8298, allocations: 485.6 kB / 0.9531 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8298, allocations: 0 / 0.9531 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.8298, allocations: 10.69 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8298, allocations: 1.125 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.8298, allocations: 5.094 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8299, allocations: 0 / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8299, allocations: 0.875 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.83, allocations: 79.36 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.83, allocations: 89.36 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.8301, allocations: 13.36 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.8301, allocations: 0 / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.8301, allocations: 1.469 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.8301, allocations: 1.062 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001055/0.8302, allocations: 130.8 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.094e-06/0.8302, allocations: 4 kB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001952/0.8304, allocations: 16.97 kB / 0.9534 GB, free: 5.148 MB / 0.7169 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.0001733/0.8306, allocations: 99.58 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.8307, allocations: 14.41 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8307, allocations: 1.438 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.8308, allocations: 11.69 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.8309, allocations: 9.641 kB / 0.9536 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.8313, allocations: 212.5 kB / 0.9538 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.8315, allocations: 0.702 MB / 0.9545 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.024e-05/0.8315, allocations: 14.14 kB / 0.9545 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.8315, allocations: 11.69 kB / 0.9545 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.8315, allocations: 0 / 0.9545 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of Templates: time 0.002906/0.8345, allocations: 491.8 kB / 0.955 GB, free: 3.875 MB / 0.7169 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/jenkins/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