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.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.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.004482/0.004482, 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.001134/0.001134, 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.323/1.323, 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 11.1.0-master/package.mo): time 2.712/2.712, allocations: 469.4 MB / 0.7422 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.89 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2534, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001957/0.2554, allocations: 0.8194 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.2555, allocations: 47.78 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.2556, allocations: 4 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.042e-05/0.2556, allocations: 7.875 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.2557, allocations: 11.86 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.187e-05/0.2558, allocations: 19.98 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.2559, allocations: 59.84 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.256, allocations: 51.84 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.2561, allocations: 27.86 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.2561, allocations: 23.86 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2562, allocations: 11.94 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.2562, allocations: 4 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.2562, allocations: 19.92 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.2563, allocations: 31.8 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.2564, allocations: 75.58 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2564, allocations: 3.938 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2564, allocations: 4 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2564, allocations: 0 / 1.221 GB, free: 13.46 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.0003935/0.2568, allocations: 375.2 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2569, allocations: 8.031 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.2569, allocations: 50.73 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.2569, allocations: 12.84 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.2571, allocations: 196.2 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2571, allocations: 384 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.2572, allocations: 16.38 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.2573, allocations: 97.52 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2573, allocations: 7.922 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.2574, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2574, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.2575, allocations: 35.98 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.258, allocations: 440.7 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.258, allocations: 41.2 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.2581, allocations: 13.78 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.2581, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2581, allocations: 46.59 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.2581, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001631/0.2583, allocations: 53.53 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2583, allocations: 81.09 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2585, allocations: 158.2 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2585, allocations: 25.7 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.2585, allocations: 104.1 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.2586, allocations: 4.203 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.2586, allocations: 29.66 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.2587, allocations: 314.8 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.2587, allocations: 7.984 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.2588, allocations: 17.72 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.2588, allocations: 29.66 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2588, allocations: 7.938 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.327e-05/0.2589, allocations: 57.64 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2589, allocations: 7.938 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2589, allocations: 4 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2589, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.259, allocations: 7.938 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.259, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.2591, allocations: 11.88 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.2591, allocations: 0 / 1.223 GB, free: 10.96 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 7.078e-05/0.2591, allocations: 118.4 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.2592, allocations: 15.88 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.2592, allocations: 11.88 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2592, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2592, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2592, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.2596, allocations: 474.8 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2596, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.2596, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2597, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2597, allocations: 8 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2597, allocations: 7.984 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2597, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.773e-05/0.2598, allocations: 81.86 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.2598, allocations: 89.05 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2598, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.2599, allocations: 4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.2599, allocations: 4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2599, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.236e-05/0.26, allocations: 121.7 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.26, allocations: 0 / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001969/0.2602, allocations: 8 kB / 1.224 GB, free: 9.922 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.0003268/0.2605, allocations: 0.6171 MB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.683e-05/0.2606, allocations: 16 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2606, allocations: 0 / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.2606, allocations: 16.08 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.2608, allocations: 8 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2619, allocations: 1.331 MB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2621, allocations: 0.6924 MB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.2621, allocations: 8.422 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.2622, allocations: 23.44 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2622, allocations: 0 / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.2785, allocations: 1.584 MB / 1.228 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.299, allocations: 8 kB / 1.228 GB, free: 5.574 MB / 0.9825 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