Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001826/0.001826, allocations: 186.2 kB / 17.34 MB, free: 5.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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.8781, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002683/0.8808, allocations: 0.8331 MB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001753/0.881, allocations: 43.78 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.8811, allocations: 4 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.8812, allocations: 7.875 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.8813, allocations: 7.922 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.709e-05/0.8814, allocations: 23.92 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.8815, allocations: 63.84 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.8817, allocations: 39.97 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.8817, allocations: 23.92 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.8818, allocations: 35.78 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.8818, allocations: 8 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.8819, allocations: 4 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.8819, allocations: 15.94 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.8819, allocations: 35.73 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.8821, allocations: 71.7 kB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8821, allocations: 0 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8821, allocations: 0 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8821, allocations: 0 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005327/0.8826, allocations: 388.8 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.8827, allocations: 12.92 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.8828, allocations: 8.844 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.883, allocations: 196.1 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.883, allocations: 4.375 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.883, allocations: 8.375 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.8832, allocations: 90.38 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.8833, allocations: 192 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.8833, allocations: 11.94 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.8833, allocations: 4 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.922e-05/0.8834, allocations: 43.86 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.884, allocations: 432.5 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/0.8841, allocations: 45.28 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.8841, allocations: 21.84 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.8842, allocations: 0 / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.8842, allocations: 38.55 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.8842, allocations: 0 / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002069/0.8844, allocations: 53.48 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.8845, allocations: 85.36 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.8846, allocations: 164.6 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.8846, allocations: 25.7 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.8847, allocations: 104 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.8847, allocations: 3.906 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.8848, allocations: 17.72 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8849, allocations: 318.8 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.8849, allocations: 4 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.885, allocations: 29.7 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.885, allocations: 21.72 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.885, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.63e-05/0.8851, allocations: 57.55 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8851, allocations: 8 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8852, allocations: 3.938 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8852, allocations: 8.047 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.8853, allocations: 4 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.8853, allocations: 4 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.8853, allocations: 7.938 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.8853, allocations: 0 / 1.171 GB, free: 200 kB / 0.8887 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 9.613e-05/0.8854, allocations: 117.8 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.8855, allocations: 11.89 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.8855, allocations: 19.8 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8855, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8855, allocations: 4 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8855, allocations: 4 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.886, allocations: 466.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.886, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.886, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.886, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.886, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.886, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8861, allocations: 4.062 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.616e-05/0.8862, allocations: 85.77 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.8862, allocations: 88.95 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.8862, allocations: 3.984 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.8863, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.8863, allocations: 7.969 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.8863, allocations: 4 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.922e-05/0.8864, allocations: 121.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8864, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001958/0.8866, allocations: 11.91 kB / 1.172 GB, free: 15.13 MB / 0.9044 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.0001169/0.8867, allocations: 95.25 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.8868, allocations: 16 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8868, allocations: 128 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/0.8869, allocations: 11.94 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.887, allocations: 18.73 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.8874, allocations: 184.5 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.8877, allocations: 0.6924 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.8878, allocations: 11.44 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.8878, allocations: 4.125 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.002443/0.8902, allocations: 0.8715 MB / 1.173 GB, free: 13.16 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches