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.001584/0.001584, allocations: 108 kB / 15.6 MB, free: 132 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.001718/0.001718, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.449/2.449, allocations: 390.2 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 0.8125 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8737, allocations: 140.4 MB / 0.9496 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002244/0.876, allocations: 0.8647 MB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001332/0.8762, allocations: 58.5 kB / 0.9505 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.8763, allocations: 1.062 kB / 0.9505 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/0.8763, allocations: 7.875 kB / 0.9505 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.8764, allocations: 9.188 kB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.746e-05/0.8765, allocations: 28.44 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.8766, allocations: 77.91 kB / 0.9506 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.8768, allocations: 52.92 kB / 0.9507 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.8769, allocations: 30.5 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.8769, allocations: 45.42 kB / 0.9507 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.8769, allocations: 7.531 kB / 0.9507 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.877, allocations: 8.438 kB / 0.9508 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.877, allocations: 18.61 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.877, allocations: 43.67 kB / 0.9508 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.8772, allocations: 95.3 kB / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.8772, allocations: 0 / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8772, allocations: 0 / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8772, allocations: 0 / 0.9509 GB, free: 8.242 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.000403/0.8776, allocations: 396.5 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8776, allocations: 9.312 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.8777, allocations: 11.31 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.8779, allocations: 204.9 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.8779, allocations: 3.219 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.8779, allocations: 18.45 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.8781, allocations: 108.3 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.8781, allocations: 1.031 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.8782, allocations: 5.625 kB / 0.9516 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8782, allocations: 5.609 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.8783, allocations: 50.84 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.8788, allocations: 469.4 kB / 0.9521 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.685e-05/0.8788, allocations: 40.72 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.8789, allocations: 20.19 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.8789, allocations: 0 / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.8789, allocations: 35.72 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.8789, allocations: 0.9062 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.8791, allocations: 55.25 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.8791, allocations: 82.64 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.8793, allocations: 186 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.8793, allocations: 25.7 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.8794, allocations: 118.3 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.8794, allocations: 9.125 kB / 0.9527 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.8794, allocations: 13.31 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.479e-05/0.8795, allocations: 325.9 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.8795, allocations: 6.438 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.8795, allocations: 26.95 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.8796, allocations: 26.41 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.8796, allocations: 4 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.17e-05/0.8796, allocations: 56.86 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8797, allocations: 10.02 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.8797, allocations: 0 / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8797, allocations: 1.125 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.8797, allocations: 9.094 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.8798, allocations: 1.531 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.8798, allocations: 14.62 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.8798, allocations: 5.469 kB / 0.9532 GB, free: 5.984 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.544e-05/0.8799, allocations: 114.1 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.8799, allocations: 12.19 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.8799, allocations: 16.83 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.8799, allocations: 0 / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.88, allocations: 1.469 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.88, allocations: 3.938 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.8802, allocations: 480.8 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8802, allocations: 0.9375 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.8803, allocations: 3.625 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8803, allocations: 0 / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.8803, allocations: 5 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8803, allocations: 0.875 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8803, allocations: 1.031 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.546e-05/0.8804, allocations: 83.45 kB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.8804, allocations: 89.17 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.8804, allocations: 9.078 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/0.8805, allocations: 0 / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.8805, allocations: 5 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.8805, allocations: 2.031 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.879e-05/0.8806, allocations: 135.2 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8806, allocations: 0 / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001854/0.8808, allocations: 15.12 kB / 0.9541 GB, free: 5.023 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.0001025/0.8809, allocations: 103.4 kB / 0.9542 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.881, allocations: 17.59 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.881, allocations: 1.281 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.881, allocations: 11.78 kB / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.8812, allocations: 6.844 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.8815, allocations: 181.9 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.8816, allocations: 0.703 MB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.8816, allocations: 9.359 kB / 0.9551 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.8817, allocations: 11.41 kB / 0.9551 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8817, allocations: 1.312 kB / 0.9551 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of Templates: time 0.003056/0.8847, allocations: 0.5069 MB / 0.9556 GB, free: 3.77 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