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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009457/0.0009458, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.9 MB / 0.667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003876, allocations: 12.28 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7462, allocations: 142.4 MB / 0.9557 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.000984/0.7473, allocations: 0.5901 MB / 0.9563 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.7474, allocations: 58.7 kB / 0.9563 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.7475, allocations: 1.688 kB / 0.9563 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.7475, allocations: 7.922 kB / 0.9563 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.7476, allocations: 5.5 kB / 0.9564 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.783e-05/0.7477, allocations: 24.08 kB / 0.9564 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.7478, allocations: 73.03 kB / 0.9564 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.7479, allocations: 50.58 kB / 0.9565 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.748, allocations: 18.8 kB / 0.9565 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.748, allocations: 29.33 kB / 0.9565 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.7481, allocations: 2.688 kB / 0.9565 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.7481, allocations: 0.8438 kB / 0.9565 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.7481, allocations: 11.66 kB / 0.9566 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.7482, allocations: 63.44 kB / 0.9566 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.355e-05/0.7482, allocations: 76.28 kB / 0.9567 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7483, allocations: 0 / 0.9567 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7483, allocations: 0 / 0.9567 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.7483, allocations: 0 / 0.9567 GB, free: 7.211 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.0003642/0.7486, allocations: 374.4 kB / 0.957 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7487, allocations: 9.5 kB / 0.9571 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.7487, allocations: 18.36 kB / 0.9571 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.7489, allocations: 197 kB / 0.9573 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.7489, allocations: 12.84 kB / 0.9573 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.749, allocations: 14.41 kB / 0.9573 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.7491, allocations: 100.3 kB / 0.9574 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7491, allocations: 3.984 kB / 0.9574 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7492, allocations: 5.25 kB / 0.9574 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7492, allocations: 2.125 kB / 0.9574 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.7493, allocations: 42.89 kB / 0.9574 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.7497, allocations: 469.8 kB / 0.9579 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/0.7498, allocations: 39.27 kB / 0.9579 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.7499, allocations: 26.92 kB / 0.9579 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.7499, allocations: 5.156 kB / 0.9579 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.7499, allocations: 31.78 kB / 0.958 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7499, allocations: 0 / 0.958 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.7501, allocations: 56.36 kB / 0.958 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.7501, allocations: 82.11 kB / 0.9581 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.7503, allocations: 181.5 kB / 0.9583 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.7503, allocations: 27.27 kB / 0.9583 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.7503, allocations: 116.6 kB / 0.9584 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.7504, allocations: 5.031 kB / 0.9584 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.7504, allocations: 10.75 kB / 0.9584 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.7504, allocations: 328.9 kB / 0.9587 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.7505, allocations: 3.844 kB / 0.9588 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.7505, allocations: 22.08 kB / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/0.7505, allocations: 30.44 kB / 0.9588 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.7505, allocations: 1.188 kB / 0.9588 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.783e-05/0.7506, allocations: 64.03 kB / 0.9589 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7507, allocations: 4.188 kB / 0.9589 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7507, allocations: 1.344 kB / 0.9589 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.7507, allocations: 224 / 0.9589 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.7507, allocations: 6.688 kB / 0.9589 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7508, allocations: 3.938 kB / 0.9589 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.7508, allocations: 14.78 kB / 0.9589 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.7508, allocations: 5.156 kB / 0.9589 GB, free: 4.98 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 5.723e-05/0.7509, allocations: 114.3 kB / 0.959 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.7509, allocations: 8.312 kB / 0.959 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.7509, allocations: 20.91 kB / 0.959 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7509, allocations: 1.219 kB / 0.959 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.751, allocations: 0 / 0.959 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.751, allocations: 5.188 kB / 0.959 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.7513, allocations: 480.9 kB / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7513, allocations: 0 / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.7513, allocations: 3.625 kB / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.7513, allocations: 1.031 kB / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.7513, allocations: 3.938 kB / 0.9595 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7513, allocations: 1.062 kB / 0.9595 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7513, allocations: 1.094 kB / 0.9595 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.121e-05/0.7514, allocations: 86.77 kB / 0.9596 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.7515, allocations: 93.16 kB / 0.9597 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.7515, allocations: 9.094 kB / 0.9597 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.7515, allocations: 1.031 kB / 0.9597 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.7515, allocations: 1 kB / 0.9597 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.7515, allocations: 1.188 kB / 0.9597 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.577e-05/0.7516, allocations: 134.6 kB / 0.9598 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7516, allocations: 4.031 kB / 0.9598 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001906/0.7518, allocations: 7.812 kB / 0.9598 GB, free: 4.02 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 9.878e-05/0.7519, allocations: 101 kB / 0.9599 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.837e-05/0.752, allocations: 22.41 kB / 0.96 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.752, allocations: 0 / 0.96 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.752, allocations: 4.656 kB / 0.96 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.7522, allocations: 14.08 kB / 0.96 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.7525, allocations: 250.4 kB / 0.9602 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.7527, allocations: 0.7027 MB / 0.9609 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.7527, allocations: 11.88 kB / 0.9609 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.7527, allocations: 0 / 0.9609 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.002419/0.7552, allocations: 0.9657 MB / 0.9618 GB, free: 2.461 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/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