Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_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.001693/0.001693, 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.002053/0.002053, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 69.11 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2456, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002043/0.2477, allocations: 0.8313 MB / 1.064 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.79e-05/0.2478, allocations: 39.8 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.2479, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.2479, allocations: 7.875 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.248, allocations: 7.938 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.728e-05/0.248, allocations: 15.98 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.2481, allocations: 71.77 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2482, allocations: 43.97 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.2483, allocations: 27.86 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.2483, allocations: 27.86 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2484, allocations: 4 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.2484, allocations: 8 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.2484, allocations: 15.92 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.2484, allocations: 35.73 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.978e-05/0.2485, allocations: 71.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.2485, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.61e-07/0.2485, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2486, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 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.0003324/0.2489, allocations: 371.3 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2489, allocations: 16.02 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.249, allocations: 42.62 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.249, allocations: 12.75 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.2492, allocations: 196.2 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.2492, allocations: 4.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2492, allocations: 8.375 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.2494, allocations: 89.3 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2494, allocations: 11.94 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2494, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2494, allocations: 3.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.2495, allocations: 35.98 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.2499, allocations: 436.5 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.25, allocations: 41.14 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.25, allocations: 25.88 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.25, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.2501, allocations: 30.56 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2501, allocations: 4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.2502, allocations: 61.48 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.2503, allocations: 81.09 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2504, allocations: 156.6 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.2504, allocations: 29.69 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.2505, allocations: 100 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.2505, allocations: 7.891 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.2505, allocations: 17.97 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2506, allocations: 322.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.2507, allocations: 11.98 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.2507, allocations: 17.72 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.2507, allocations: 25.66 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2507, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.356e-05/0.2508, allocations: 61.59 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2508, allocations: 11.94 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2509, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.2509, allocations: 3.938 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.2509, allocations: 8 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2509, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.251, allocations: 7.844 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.251, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 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.581e-05/0.2511, allocations: 113.8 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.2511, allocations: 19.89 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.2511, allocations: 7.875 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2511, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2512, allocations: 3.938 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.2512, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.2515, allocations: 466.8 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2516, allocations: 3.938 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.2516, allocations: 8.156 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2516, allocations: 3.984 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2516, allocations: 3.984 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2516, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2516, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.849e-05/0.2517, allocations: 85.78 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.2518, allocations: 89.03 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2518, allocations: 4 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.2518, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.2518, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.2518, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.894e-05/0.2519, allocations: 123.2 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2519, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001945/0.2521, allocations: 8 kB / 1.068 GB, free: 9.77 MB / 0.8262 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.0003261/0.2525, allocations: 0.6287 MB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.707e-05/0.2525, allocations: 12 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2525, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.2526, allocations: 15.92 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.2527, allocations: 8.281 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2538, allocations: 1.319 MB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.254, allocations: 0.6967 MB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.2541, allocations: 8.422 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.2541, allocations: 27.42 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2541, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.2709, allocations: 1.546 MB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.342, allocations: 8.781 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches