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.001524/0.001524, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001831/0.001831, allocations: 193.4 kB / 16.25 MB, free: 6.633 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.501/2.501, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8201, allocations: 140.3 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002494/0.8227, allocations: 0.9337 MB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.8229, allocations: 54.64 kB / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.823, allocations: 5.375 kB / 0.9501 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.31e-05/0.823, allocations: 3.938 kB / 0.9501 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.642e-05/0.8231, allocations: 9.297 kB / 0.9501 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.321e-05/0.8232, allocations: 20.11 kB / 0.9501 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.8233, allocations: 78.03 kB / 0.9502 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.8236, allocations: 56.33 kB / 0.9502 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.8236, allocations: 29.44 kB / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.8237, allocations: 42.59 kB / 0.9503 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.8237, allocations: 7.562 kB / 0.9503 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.8238, allocations: 7.656 kB / 0.9503 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.8238, allocations: 18.67 kB / 0.9503 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.8239, allocations: 44.72 kB / 0.9504 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.824, allocations: 90.28 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.824, allocations: 0 / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.824, allocations: 1.062 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.824, allocations: 4 kB / 0.9505 GB, free: 8.008 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.0005012/0.8245, allocations: 392.2 kB / 0.9508 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.8246, allocations: 8.938 kB / 0.9508 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.8247, allocations: 14.38 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.8249, allocations: 209.1 kB / 0.9511 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.8249, allocations: 8.625 kB / 0.9511 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.825, allocations: 15.12 kB / 0.9511 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.8252, allocations: 102.4 kB / 0.9512 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.8252, allocations: 3.984 kB / 0.9512 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.8252, allocations: 5.219 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.8252, allocations: 6.438 kB / 0.9512 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.8253, allocations: 46.81 kB / 0.9512 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.8259, allocations: 465.8 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.826, allocations: 41.7 kB / 0.9517 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.826, allocations: 20.03 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.826, allocations: 0 / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.8261, allocations: 40.73 kB / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.8261, allocations: 0 / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001867/0.8263, allocations: 51.45 kB / 0.9518 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.8263, allocations: 78.52 kB / 0.9519 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.8265, allocations: 185.5 kB / 0.9521 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.8265, allocations: 30.73 kB / 0.9521 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.8266, allocations: 112.6 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.8266, allocations: 5.344 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.8266, allocations: 25.81 kB / 0.9522 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.8267, allocations: 325.1 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.8267, allocations: 3.656 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.8268, allocations: 22.39 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.8268, allocations: 22.84 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8268, allocations: 0 / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.952e-05/0.8269, allocations: 64.39 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.8269, allocations: 8.734 kB / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8269, allocations: 1.094 kB / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.8269, allocations: 0 / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.827, allocations: 6.781 kB / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.827, allocations: 0 / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.8271, allocations: 18.59 kB / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.8271, allocations: 1.188 kB / 0.9527 GB, free: 5.762 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.298e-05/0.8272, allocations: 122.5 kB / 0.9528 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.8272, allocations: 8.562 kB / 0.9528 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.8273, allocations: 17.02 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8273, allocations: 0 / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8273, allocations: 1.375 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8273, allocations: 3.938 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.8276, allocations: 481 kB / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8276, allocations: 5.562 kB / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.8276, allocations: 2.625 kB / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8276, allocations: 0 / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8277, allocations: 9.219 kB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8277, allocations: 5.016 kB / 0.9533 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8277, allocations: 0 / 0.9533 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.563e-05/0.8277, allocations: 76.36 kB / 0.9534 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.8278, allocations: 92.45 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.8278, allocations: 13.02 kB / 0.9535 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.8278, allocations: 1.156 kB / 0.9535 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.8278, allocations: 5.531 kB / 0.9535 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.8278, allocations: 0 / 0.9535 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.273e-05/0.8279, allocations: 131.5 kB / 0.9536 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8279, allocations: 0 / 0.9536 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001998/0.8281, allocations: 11.66 kB / 0.9536 GB, free: 4.793 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.0001032/0.8283, allocations: 109.4 kB / 0.9537 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.643e-05/0.8284, allocations: 14.44 kB / 0.9538 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8284, allocations: 0 / 0.9538 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/0.8284, allocations: 12.53 kB / 0.9538 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.8286, allocations: 8.391 kB / 0.9538 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.8289, allocations: 215.3 kB / 0.954 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.829, allocations: 0.6989 MB / 0.9547 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.8291, allocations: 13.14 kB / 0.9547 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.8291, allocations: 11.78 kB / 0.9547 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8291, allocations: 1.125 kB / 0.9547 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.002813/0.8319, allocations: 0.4987 MB / 0.9552 GB, free: 3.508 MB / 0.7169 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/jenkins/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