Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 72.08 kB / 1.134 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9295/0.9316, allocations: 173.9 MB / 1.304 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002501/0.9341, allocations: 0.8345 MB / 1.305 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000175/0.9343, allocations: 40.55 kB / 1.305 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.9344, allocations: 2.406 kB / 1.305 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.861e-05/0.9345, allocations: 9.656 kB / 1.305 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.9346, allocations: 14.08 kB / 1.305 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.242e-05/0.9346, allocations: 19.42 kB / 1.305 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.9348, allocations: 67.69 kB / 1.305 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.9349, allocations: 27.58 kB / 1.305 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.935, allocations: 26.48 kB / 1.305 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.935, allocations: 33.73 kB / 1.305 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.9351, allocations: 7.094 kB / 1.305 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.9351, allocations: 5.719 kB / 1.305 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.9351, allocations: 15.17 kB / 1.305 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.9352, allocations: 34.16 kB / 1.305 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.9353, allocations: 76.12 kB / 1.305 GB, free: 14.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9353, allocations: 0 / 1.305 GB, free: 14.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9353, allocations: 1.219 kB / 1.305 GB, free: 14.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.9353, allocations: 0 / 1.305 GB, free: 14.76 MB / 1.014 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.0005229/0.9358, allocations: 384.1 kB / 1.306 GB, free: 14.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.9359, allocations: 10.25 kB / 1.306 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.9359, allocations: 43.06 kB / 1.306 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.936, allocations: 10.36 kB / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.9362, allocations: 191.1 kB / 1.306 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.9362, allocations: 8.062 kB / 1.306 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.9362, allocations: 10 kB / 1.306 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.9364, allocations: 96.22 kB / 1.306 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9364, allocations: 5.094 kB / 1.306 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.9364, allocations: 1.906 kB / 1.306 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.9364, allocations: 5.25 kB / 1.306 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.9365, allocations: 35.84 kB / 1.306 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.9371, allocations: 442.6 kB / 1.306 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.9372, allocations: 40.94 kB / 1.306 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.9372, allocations: 20.34 kB / 1.306 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.9373, allocations: 9.031 kB / 1.306 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.9373, allocations: 36.34 kB / 1.306 GB, free: 13.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.9373, allocations: 0 / 1.306 GB, free: 13.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.9375, allocations: 57.31 kB / 1.306 GB, free: 13.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.9375, allocations: 77.77 kB / 1.307 GB, free: 13.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.9377, allocations: 160.6 kB / 1.307 GB, free: 13.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.9377, allocations: 26.77 kB / 1.307 GB, free: 13.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.9378, allocations: 107 kB / 1.307 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.9378, allocations: 5.875 kB / 1.307 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.9379, allocations: 18.42 kB / 1.307 GB, free: 13.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.9381, allocations: 319.9 kB / 1.307 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.9381, allocations: 8.469 kB / 1.307 GB, free: 12.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.9381, allocations: 19.95 kB / 1.307 GB, free: 12.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.834e-05/0.9382, allocations: 35.27 kB / 1.307 GB, free: 12.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.9382, allocations: 0 / 1.307 GB, free: 12.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001078/0.9383, allocations: 54.17 kB / 1.307 GB, free: 12.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9383, allocations: 9.125 kB / 1.307 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.9383, allocations: 0 / 1.307 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.9383, allocations: 1.953 kB / 1.307 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.9384, allocations: 10.92 kB / 1.307 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.9384, allocations: 0 / 1.307 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.9384, allocations: 10.61 kB / 1.307 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.9384, allocations: 6.141 kB / 1.307 GB, free: 12.62 MB / 1.014 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 0.0001028/0.9385, allocations: 117.8 kB / 1.307 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.9386, allocations: 12.14 kB / 1.307 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.9386, allocations: 12.39 kB / 1.307 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9386, allocations: 1.219 kB / 1.307 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9386, allocations: 1.281 kB / 1.307 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.9386, allocations: 0.6094 kB / 1.307 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.9391, allocations: 474.2 kB / 1.308 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9391, allocations: 5.188 kB / 1.308 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.9392, allocations: 7.594 kB / 1.308 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9392, allocations: 1.094 kB / 1.308 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.9392, allocations: 2.031 kB / 1.308 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9392, allocations: 0 / 1.308 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9392, allocations: 1.188 kB / 1.308 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.9393, allocations: 84.38 kB / 1.308 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/0.9394, allocations: 86.44 kB / 1.308 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.9394, allocations: 5.984 kB / 1.308 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.9394, allocations: 1.125 kB / 1.308 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.9394, allocations: 1.688 kB / 1.308 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.9394, allocations: 1.312 kB / 1.308 GB, free: 11.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001071/0.9395, allocations: 121.4 kB / 1.308 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9395, allocations: 0 / 1.308 GB, free: 11.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001948/0.9397, allocations: 14.73 kB / 1.308 GB, free: 11.71 MB / 1.014 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.0004981/0.9402, allocations: 0.6158 MB / 1.309 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.9403, allocations: 16.33 kB / 1.309 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9403, allocations: 4.062 kB / 1.309 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.471e-05/0.9403, allocations: 7.953 kB / 1.309 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.9405, allocations: 11.88 kB / 1.309 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.942, allocations: 1.329 MB / 1.31 GB, free: 9.852 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.9424, allocations: 0.6964 MB / 1.311 GB, free: 9.152 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.9424, allocations: 5.625 kB / 1.311 GB, free: 9.152 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.9425, allocations: 30.11 kB / 1.311 GB, free: 9.129 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/0.9425, allocations: 0 / 1.311 GB, free: 9.129 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.9694, allocations: 1.594 MB / 1.312 GB, free: 8.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/9.429, allocations: 17.66 kB / 1.312 GB, free: 8.762 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.87939898809418]