Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.001556/0.001561, allocations: 108 kB / 15.6 MB, free: 128 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.001782/0.001782, allocations: 192.8 kB / 16.53 MB, free: 6.668 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.742 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 62.89 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2459, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001886/0.2478, allocations: 0.8313 MB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.914e-05/0.2479, allocations: 39.78 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.248, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.248, allocations: 11.86 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.2481, allocations: 15.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.289e-05/0.2481, allocations: 15.98 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.535e-05/0.2482, allocations: 59.84 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2484, allocations: 47.95 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.2484, allocations: 35.8 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.2485, allocations: 23.86 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2485, allocations: 4 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.2485, allocations: 8 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.2485, allocations: 15.92 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.2486, allocations: 35.75 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.06e-05/0.2487, allocations: 71.97 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2487, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.916e-06/0.2487, allocations: 4 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2487, allocations: 0 / 1.065 GB, free: 13.27 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.0003524/0.2491, allocations: 373 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2491, allocations: 12.03 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2491, allocations: 38.73 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.2492, allocations: 16.75 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.2493, allocations: 188.2 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2494, allocations: 12.31 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.2494, allocations: 4.375 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2495, allocations: 105.4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2495, allocations: 3.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2496, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2496, allocations: 3.938 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.2496, allocations: 35.98 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.2501, allocations: 440.5 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.2502, allocations: 37.16 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.2502, allocations: 25.83 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.2502, allocations: 0 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2503, allocations: 38.59 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2503, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.2504, allocations: 57.48 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.2505, allocations: 77.11 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2506, allocations: 164.6 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.2506, allocations: 25.7 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.2507, allocations: 100 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.2507, allocations: 3.906 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.2507, allocations: 25.95 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.2508, allocations: 318.8 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.2508, allocations: 4 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.2509, allocations: 21.7 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.2509, allocations: 25.66 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2509, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.418e-05/0.251, allocations: 65.59 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.251, allocations: 7.938 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.251, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2511, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.2511, allocations: 11.94 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2511, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.2512, allocations: 11.84 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.2512, allocations: 4 kB / 1.067 GB, free: 10.79 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.52e-05/0.2512, allocations: 119.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.2513, allocations: 11.84 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.2513, allocations: 15.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2513, allocations: 4 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2513, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2513, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.2517, allocations: 466.8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2517, allocations: 4.062 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.2517, allocations: 8 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2518, allocations: 96 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.2518, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2518, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2518, allocations: 11.92 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/0.2519, allocations: 81.77 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.2519, allocations: 93.03 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2519, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/0.252, allocations: 4 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-06/0.252, allocations: 0 / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.252, allocations: 4 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.77e-05/0.2521, allocations: 117.9 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2521, allocations: 4 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001916/0.2523, allocations: 4 kB / 1.068 GB, free: 9.75 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.0003205/0.2526, allocations: 0.6291 MB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.651e-05/0.2527, allocations: 16 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2527, allocations: 0 / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.326e-05/0.2527, allocations: 8.156 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.2529, allocations: 12.05 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2539, allocations: 1.316 MB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2542, allocations: 0.6929 MB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.2542, allocations: 8.422 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.2543, allocations: 23.44 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2543, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.2698, allocations: 1.551 MB / 1.072 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.453, allocations: 14.33 kB / 1.072 GB, free: 5.426 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_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_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches