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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004547/0.004547, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001105/0.001105, allocations: 197 kB / 16.67 MB, free: 5.973 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.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.619/2.619, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2548, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001954/0.2568, allocations: 0.814 MB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.257, allocations: 47.78 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.257, allocations: 0 / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.2571, allocations: 11.86 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.2572, allocations: 7.875 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.926e-05/0.2572, allocations: 19.98 kB / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2574, allocations: 59.84 kB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2575, allocations: 51.95 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.2576, allocations: 23.81 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.2576, allocations: 35.78 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.2577, allocations: 8 kB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.2577, allocations: 4 kB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.2577, allocations: 11.94 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.2577, allocations: 39.8 kB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.2579, allocations: 75.86 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2579, allocations: 3.938 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2579, allocations: 0 / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2579, allocations: 3.938 kB / 1.167 GB, free: 6.062 MB / 0.92 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.0004207/0.2583, allocations: 383.1 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2584, allocations: 8.031 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.2584, allocations: 38.75 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.2584, allocations: 12.84 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.2587, allocations: 196.2 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.2587, allocations: 8.375 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.2587, allocations: 4.375 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.2589, allocations: 91.89 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2589, allocations: 3.938 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2589, allocations: 11.94 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2589, allocations: 0 / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.259, allocations: 35.92 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.2595, allocations: 440.7 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.459e-05/0.2596, allocations: 41.25 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.2596, allocations: 17.78 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.2596, allocations: 8 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.2597, allocations: 34.56 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2597, allocations: 0 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.2598, allocations: 57.52 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2599, allocations: 81.11 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.26, allocations: 155.7 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2601, allocations: 33.7 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.2601, allocations: 100.1 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.2602, allocations: 11.89 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.2602, allocations: 13.72 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2603, allocations: 318.8 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.2603, allocations: 8 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.2604, allocations: 13.72 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.2604, allocations: 37.66 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2604, allocations: 0 / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.799e-05/0.2605, allocations: 61.53 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2605, allocations: 7.938 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2605, allocations: 4 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2606, allocations: 0 / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.2606, allocations: 4 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2606, allocations: 3.984 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.2607, allocations: 12.06 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-06/0.2607, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 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 7.173e-05/0.2608, allocations: 113.8 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.2608, allocations: 15.83 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.2609, allocations: 7.875 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2609, allocations: 0 / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2609, allocations: 0 / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2609, allocations: 4 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.2613, allocations: 482.6 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2613, allocations: 4 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.2613, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2613, allocations: 4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.2613, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2613, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2613, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.182e-05/0.2614, allocations: 85.88 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.2615, allocations: 89.06 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2615, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.381e-05/0.2615, allocations: 4 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.2616, allocations: 96 / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2616, allocations: 3.984 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.466e-05/0.2617, allocations: 117.7 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2617, allocations: 4.031 kB / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000202/0.2619, allocations: 11.94 kB / 1.17 GB, free: 2.535 MB / 0.92 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.0003795/0.2623, allocations: 0.621 MB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.2623, allocations: 24.02 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2624, allocations: 0 / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.2624, allocations: 11.94 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.2625, allocations: 6.188 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2637, allocations: 1.335 MB / 1.172 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.264, allocations: 0.6968 MB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.264, allocations: 8.422 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.2641, allocations: 27.42 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.2641, allocations: 0 / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.2818, allocations: 1.568 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.355, allocations: 14.23 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv","/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