Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_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.001494/0.001494, 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.001461/0.001461, allocations: 192.2 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.6/2.6, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 74.64 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2488, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002016/0.2509, allocations: 0.8281 MB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001062/0.251, allocations: 43.78 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.251, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.2511, allocations: 7.875 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.413e-05/0.2512, allocations: 15.88 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.044e-05/0.2512, allocations: 11.98 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.159e-05/0.2513, allocations: 67.84 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2514, allocations: 39.95 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.083e-05/0.2515, allocations: 27.86 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.746e-05/0.2515, allocations: 35.78 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2516, allocations: 4 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.2516, allocations: 8 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.2516, allocations: 15.94 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.2516, allocations: 35.73 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.2517, allocations: 67.98 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2518, allocations: 7.938 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2518, allocations: 0 / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2518, allocations: 0 / 1.065 GB, free: 12.96 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.0003931/0.2522, allocations: 371.3 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2522, allocations: 12.03 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.2523, allocations: 42.75 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.2523, allocations: 16.75 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.2525, allocations: 196.1 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2525, allocations: 4.375 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2525, allocations: 8.375 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2527, allocations: 93.61 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2527, allocations: 7.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2527, allocations: 4 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2527, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.2528, allocations: 39.92 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.2533, allocations: 440.5 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.23e-05/0.2534, allocations: 49.39 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.2534, allocations: 13.72 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2534, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2534, allocations: 34.56 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.2534, allocations: 4 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001505/0.2536, allocations: 61.47 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2537, allocations: 77.11 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2538, allocations: 173 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2538, allocations: 25.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.2539, allocations: 97.89 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.2539, allocations: 11.89 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.2539, allocations: 13.72 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2541, allocations: 327.1 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.2541, allocations: 4 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.2541, allocations: 17.72 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.2542, allocations: 21.72 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2542, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.44e-05/0.2543, allocations: 65.53 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2543, allocations: 12 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.2543, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.2543, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.2544, allocations: 8 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2544, allocations: 0 / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.2544, allocations: 11.84 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.2544, allocations: 3.938 kB / 1.067 GB, free: 10.47 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 7.578e-05/0.2545, allocations: 121.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.2545, allocations: 11.84 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.2546, allocations: 15.88 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2546, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2546, allocations: 3.938 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2546, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.255, allocations: 466.8 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.255, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.255, allocations: 7.984 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.255, allocations: 4.062 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.255, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.255, allocations: 8 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.255, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.943e-05/0.2551, allocations: 77.84 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.2552, allocations: 89 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.2552, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.2552, allocations: 4.031 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-06/0.2552, allocations: 3.938 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2552, allocations: 4 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.937e-05/0.2553, allocations: 123.2 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2553, allocations: 0 / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001746/0.2555, allocations: 4 kB / 1.068 GB, free: 9.434 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.0003794/0.2559, allocations: 0.6209 MB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.096e-05/0.256, allocations: 27.92 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.256, allocations: 0 / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.256, allocations: 4 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.2562, allocations: 8 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2573, allocations: 1.315 MB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2576, allocations: 0.6931 MB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.2576, allocations: 8.422 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.2576, allocations: 23.42 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2576, allocations: 0 / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.241/1.499, allocations: 1.557 MB / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/14.13, allocations: 15.86 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches