Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.001122/0.001122, 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.001142/0.001142, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.25 kB / 0.9083 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2457, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002138/0.2479, allocations: 0.8293 MB / 1.064 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001084/0.248, allocations: 43.78 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.2481, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.2481, allocations: 7.875 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.2482, allocations: 7.938 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.835e-05/0.2483, allocations: 11.98 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.2484, allocations: 71.78 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2485, allocations: 47.95 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.295e-05/0.2486, allocations: 27.86 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.2487, allocations: 27.84 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2487, allocations: 4 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.2487, allocations: 8 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.2487, allocations: 19.92 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.2488, allocations: 35.67 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.2489, allocations: 68 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2489, allocations: 4 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2489, allocations: 3.938 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2489, allocations: 4 kB / 1.065 GB, free: 13.28 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.0003986/0.2493, allocations: 369 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2494, allocations: 12.03 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.2494, allocations: 34.75 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.2494, allocations: 16.75 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.2496, allocations: 192.2 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2497, allocations: 12.31 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2497, allocations: 12.31 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2498, allocations: 93.67 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2498, allocations: 3.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.2499, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2499, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.2499, allocations: 39.92 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.2504, allocations: 440.6 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.2505, allocations: 37.31 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.2505, allocations: 17.72 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.2505, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2506, allocations: 34.56 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2506, allocations: 4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001603/0.2507, allocations: 57.47 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.2508, allocations: 81.11 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2509, allocations: 160.6 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.2509, allocations: 25.7 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.251, allocations: 100 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.251, allocations: 12.14 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.2511, allocations: 17.72 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2512, allocations: 318.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.2512, allocations: 8 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.2512, allocations: 21.66 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.2513, allocations: 21.72 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2513, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.994e-05/0.2514, allocations: 61.53 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2514, allocations: 7.938 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2514, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2514, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.2515, allocations: 12 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2515, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.2515, allocations: 11.84 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.2515, allocations: 0 / 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.956e-05/0.2516, allocations: 125.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.2516, allocations: 11.84 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.2517, allocations: 11.95 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2517, allocations: 3.938 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2517, allocations: 4 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2517, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.252, allocations: 474.8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2521, allocations: 4.062 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.2521, allocations: 7.984 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2521, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2521, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2521, allocations: 7.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2521, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.447e-05/0.2522, allocations: 81.84 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.2522, allocations: 89 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2523, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.2523, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.2523, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2523, allocations: 4 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.2524, allocations: 121.9 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2524, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00019/0.2526, allocations: 8 kB / 1.068 GB, free: 9.766 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.0003134/0.2529, allocations: 0.6231 MB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.45e-05/0.253, allocations: 23.92 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.253, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.253, allocations: 12.16 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.2532, allocations: 8 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.2542, allocations: 1.316 MB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2544, allocations: 0.6885 MB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.2544, allocations: 8.422 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.2545, allocations: 27.42 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2545, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.2693, allocations: 1.561 MB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.357, allocations: 10.92 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_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_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches