Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001654/0.001654, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.00188/0.00188, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.31/2.31, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.25 kB / 0.8132 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2556, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002122/0.2577, allocations: 0.8293 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.2579, allocations: 39.78 kB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.258, allocations: 0 / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.752e-05/0.2581, allocations: 7.875 kB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.259e-05/0.2582, allocations: 15.88 kB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.114e-05/0.2582, allocations: 15.98 kB / 0.9512 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.2583, allocations: 59.84 kB / 0.9512 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.2585, allocations: 47.97 kB / 0.9513 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.2586, allocations: 19.86 kB / 0.9513 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.2587, allocations: 31.8 kB / 0.9513 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.2587, allocations: 7.938 kB / 0.9513 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.2587, allocations: 8 kB / 0.9513 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.2587, allocations: 15.92 kB / 0.9513 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.2588, allocations: 39.78 kB / 0.9514 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2589, allocations: 68 kB / 0.9514 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2589, allocations: 0 / 0.9514 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2589, allocations: 0 / 0.9514 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.259, allocations: 0 / 0.9514 GB, free: 7.68 MB / 0.7325 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.0004413/0.2594, allocations: 379.2 kB / 0.9518 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2595, allocations: 16.02 kB / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.2595, allocations: 8.844 kB / 0.9518 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.2597, allocations: 192.1 kB / 0.952 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2597, allocations: 8.375 kB / 0.952 GB, free: 7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2598, allocations: 4.375 kB / 0.952 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.2599, allocations: 98.52 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2599, allocations: 4.188 kB / 0.9521 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.26, allocations: 11.86 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.26, allocations: 7.984 kB / 0.9521 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/0.2601, allocations: 35.98 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.2606, allocations: 424.6 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.358e-05/0.2607, allocations: 45.34 kB / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.2607, allocations: 17.78 kB / 0.9526 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.2607, allocations: 0 / 0.9526 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2608, allocations: 42.48 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2608, allocations: 4 kB / 0.9527 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.2609, allocations: 49.55 kB / 0.9527 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.261, allocations: 81.05 kB / 0.9528 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.2611, allocations: 168.2 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2611, allocations: 29.64 kB / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.2612, allocations: 104 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.2612, allocations: 7.906 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.2613, allocations: 17.97 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.2614, allocations: 322.8 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.2614, allocations: 8 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.2614, allocations: 13.72 kB / 0.9534 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.2615, allocations: 29.7 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2615, allocations: 0 / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.081e-05/0.2616, allocations: 61.55 kB / 0.9535 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2616, allocations: 4 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2616, allocations: 3.938 kB / 0.9535 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2616, allocations: 3.938 kB / 0.9535 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.2617, allocations: 11.98 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2617, allocations: 0 / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.2618, allocations: 15.84 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.2618, allocations: 0 / 0.9536 GB, free: 5.234 MB / 0.7325 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 6.96e-05/0.2619, allocations: 119.8 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.2619, allocations: 11.91 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.2619, allocations: 19.8 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2619, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.262, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.262, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.2623, allocations: 470.8 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2624, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.2624, allocations: 8.062 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2624, allocations: 0 / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.2624, allocations: 0 / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2624, allocations: 4 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2624, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.084e-05/0.2625, allocations: 81.77 kB / 0.9543 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.2626, allocations: 89.02 kB / 0.9543 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2626, allocations: 4.031 kB / 0.9543 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.2626, allocations: 3.984 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.2626, allocations: 0 / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.2626, allocations: 7.938 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.2627, allocations: 122.3 kB / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2627, allocations: 0 / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001905/0.2629, allocations: 4 kB / 0.9545 GB, free: 4.199 MB / 0.7325 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.0001089/0.263, allocations: 103.2 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.356e-05/0.2631, allocations: 19.94 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2631, allocations: 4 kB / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.2632, allocations: 8 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2633, allocations: 7.938 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.2637, allocations: 184.8 kB / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.2639, allocations: 0.6966 MB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.2639, allocations: 11.44 kB / 0.9555 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2639, allocations: 0 / 0.9555 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of Templates: time 0.002236/0.2662, allocations: 0.8638 MB / 0.9563 GB, free: 2.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches