Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.007646/0.007646, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001952/0.001952, allocations: 196.2 kB / 16.67 MB, free: 6.355 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.765/2.765, allocations: 469.4 MB / 0.7422 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.89 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2542, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001826/0.2561, allocations: 0.8341 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.2562, allocations: 43.78 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.2563, allocations: 0 / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.2563, allocations: 11.86 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.858e-05/0.2564, allocations: 11.88 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.663e-05/0.2565, allocations: 23.98 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.2566, allocations: 59.83 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2567, allocations: 47.84 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.2568, allocations: 31.86 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.2568, allocations: 31.8 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2568, allocations: 4 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.2568, allocations: 8 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.2569, allocations: 15.92 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.2569, allocations: 35.75 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.257, allocations: 67.64 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.257, allocations: 7.984 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.257, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2571, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 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.0003682/0.2574, allocations: 383.2 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2575, allocations: 8.031 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.2575, allocations: 42.73 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.2575, allocations: 16.78 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.2577, allocations: 184.3 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2577, allocations: 8.375 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2578, allocations: 4.375 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.2579, allocations: 109.3 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2579, allocations: 3.938 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2579, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2579, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.258, allocations: 31.98 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.2585, allocations: 436.7 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.686e-05/0.2586, allocations: 41.16 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.2586, allocations: 25.83 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.2586, allocations: 96 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2586, allocations: 42.48 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2586, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000154/0.2588, allocations: 61.53 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2589, allocations: 77.11 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.259, allocations: 169 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.259, allocations: 25.7 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.2591, allocations: 100.1 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.2591, allocations: 3.953 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.2591, allocations: 21.67 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.2592, allocations: 331 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.2592, allocations: 4 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.2593, allocations: 21.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.2593, allocations: 25.66 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2593, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.341e-05/0.2594, allocations: 57.66 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2594, allocations: 12 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2594, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2595, allocations: 3.984 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.2595, allocations: 11.94 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2595, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.2596, allocations: 3.938 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.2596, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 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.731e-05/0.2596, allocations: 114.4 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.2597, allocations: 11.89 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.2597, allocations: 15.86 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2597, allocations: 4 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2597, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2597, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.2601, allocations: 470.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2601, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.2601, allocations: 8 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2601, allocations: 4.062 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.2602, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2602, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2602, allocations: 4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.362e-05/0.2602, allocations: 81.81 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.2603, allocations: 85.06 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2603, allocations: 3.984 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.2604, allocations: 8.031 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.2604, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2604, allocations: 4 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.805e-05/0.2605, allocations: 119.2 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2605, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001902/0.2607, allocations: 4 kB / 1.224 GB, free: 9.891 MB / 0.9825 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.0003143/0.261, allocations: 0.6248 MB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.892e-05/0.2611, allocations: 19.94 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2611, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.2611, allocations: 7.938 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.2612, allocations: 4.281 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2623, allocations: 1.335 MB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2625, allocations: 0.6963 MB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.2625, allocations: 4.438 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.2626, allocations: 27.42 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2626, allocations: 0 / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.2783, allocations: 1.577 MB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.276, allocations: 13.95 kB / 1.228 GB, free: 5.527 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches