Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.001461/0.001461, 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.001398/0.001398, allocations: 192.4 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.488/2.488, allocations: 469.8 MB / 0.7424 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 72.06 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2352, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002004/0.2372, allocations: 0.8246 MB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001059/0.2373, allocations: 39.78 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.2374, allocations: 4 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.2375, allocations: 7.875 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.2375, allocations: 7.875 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.599e-05/0.2376, allocations: 23.97 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.2377, allocations: 55.86 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.2378, allocations: 47.95 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.2379, allocations: 23.86 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.2379, allocations: 35.78 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.238, allocations: 8 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.238, allocations: 4 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.238, allocations: 11.94 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.238, allocations: 43.73 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.2381, allocations: 71.98 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2381, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2382, allocations: 3.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2382, allocations: 0 / 1.065 GB, free: 12.93 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.0004174/0.2386, allocations: 371.3 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2386, allocations: 8.031 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.2387, allocations: 38.75 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.2387, allocations: 16.75 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.2389, allocations: 200.1 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.2389, allocations: 4.375 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2389, allocations: 8.375 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2391, allocations: 87.95 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2391, allocations: 3.938 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2391, allocations: 4 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2391, allocations: 7.938 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.2392, allocations: 35.92 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.2397, allocations: 440.5 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.2398, allocations: 37.34 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.2398, allocations: 21.78 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.2398, allocations: 0 / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.2399, allocations: 34.56 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2399, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/0.24, allocations: 57.47 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2401, allocations: 77.11 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2402, allocations: 173.1 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2403, allocations: 25.7 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.2403, allocations: 105.9 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.2403, allocations: 11.89 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.2404, allocations: 17.66 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2405, allocations: 318.8 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.2405, allocations: 8 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.2405, allocations: 13.72 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.2406, allocations: 33.72 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2406, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.51e-05/0.2407, allocations: 57.53 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2407, allocations: 9.812 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2407, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2407, allocations: 4 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.2408, allocations: 4 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2408, allocations: 4.062 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.2408, allocations: 15.84 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.2409, allocations: 0 / 1.067 GB, free: 10.46 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.636e-05/0.2409, allocations: 121.8 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.241, allocations: 11.84 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.241, allocations: 7.875 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.241, allocations: 3.938 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.241, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.241, allocations: 96 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.2414, allocations: 470.8 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2414, allocations: 11.86 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.2415, allocations: 7.984 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2415, allocations: 0 / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2415, allocations: 4 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2415, allocations: 0 / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2415, allocations: 7.984 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.685e-05/0.2416, allocations: 77.91 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.2416, allocations: 93 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2417, allocations: 0 / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.937e-05/0.2417, allocations: 0 / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.2417, allocations: 4 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.2417, allocations: 3.938 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.642e-05/0.2418, allocations: 123.3 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2418, allocations: 0 / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001819/0.242, allocations: 8 kB / 1.068 GB, free: 9.406 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.0003778/0.2424, allocations: 0.617 MB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.2425, allocations: 27.92 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2425, allocations: 0 / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.2425, allocations: 8 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.2426, allocations: 4 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2437, allocations: 1.317 MB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.244, allocations: 0.6963 MB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.244, allocations: 8.438 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.2441, allocations: 27.42 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.2441, allocations: 0 / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.352/1.596, allocations: 1.547 MB / 1.072 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/12.3, allocations: 12.98 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches