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.001641/0.001647, allocations: 108.7 kB / 16.4 MB, free: 6.496 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.001741/0.001741, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.522/1.522, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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 2.9/2.9, allocations: 489 MB / 0.7678 GB, free: 8 kB / 0.6231 GB " [Timeout remaining time 177] 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.002754/0.002754, allocations: 71.88 kB / 1.101 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8341, allocations: 163.8 MB / 1.261 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002384/0.8365, allocations: 0.8319 MB / 1.262 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.8367, allocations: 43.78 kB / 1.262 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.8368, allocations: 4 kB / 1.262 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.8368, allocations: 11.86 kB / 1.262 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.8369, allocations: 3.938 kB / 1.262 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.712e-05/0.837, allocations: 19.98 kB / 1.262 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.8372, allocations: 63.78 kB / 1.262 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.8374, allocations: 46.62 kB / 1.262 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.8374, allocations: 19.92 kB / 1.262 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.733e-05/0.8375, allocations: 35.78 kB / 1.262 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.8376, allocations: 4 kB / 1.262 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.8376, allocations: 8 kB / 1.262 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.8376, allocations: 15.94 kB / 1.262 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.8377, allocations: 35.73 kB / 1.262 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.8378, allocations: 71.64 kB / 1.262 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8379, allocations: 4 kB / 1.262 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8379, allocations: 0 / 1.262 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.8379, allocations: 0 / 1.262 GB, free: 5.934 MB / 0.9669 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.0005404/0.8384, allocations: 383.1 kB / 1.263 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8385, allocations: 8.031 kB / 1.263 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.8385, allocations: 38.75 kB / 1.263 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.8386, allocations: 20.78 kB / 1.263 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.8388, allocations: 200.1 kB / 1.263 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.8388, allocations: 4.375 kB / 1.263 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.8389, allocations: 8.375 kB / 1.263 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.839, allocations: 89.83 kB / 1.263 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.8391, allocations: 7.922 kB / 1.263 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.8391, allocations: 4 kB / 1.263 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.8391, allocations: 4 kB / 1.263 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.608e-05/0.8392, allocations: 39.92 kB / 1.263 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.8397, allocations: 436.6 kB / 1.263 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.8398, allocations: 41.28 kB / 1.263 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.8398, allocations: 25.84 kB / 1.263 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.8399, allocations: 0 / 1.263 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.8399, allocations: 34.5 kB / 1.264 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.685e-06/0.8399, allocations: 0 / 1.264 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.8401, allocations: 61.52 kB / 1.264 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.8401, allocations: 85.05 kB / 1.264 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.8403, allocations: 163.8 kB / 1.264 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.8403, allocations: 25.7 kB / 1.264 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.8404, allocations: 100.1 kB / 1.264 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.8404, allocations: 7.938 kB / 1.264 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.8405, allocations: 17.72 kB / 1.264 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8406, allocations: 322.8 kB / 1.264 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.8406, allocations: 4 kB / 1.264 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.8406, allocations: 17.72 kB / 1.264 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.8407, allocations: 25.72 kB / 1.264 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8407, allocations: 0 / 1.264 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.843e-05/0.8408, allocations: 69.53 kB / 1.264 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8408, allocations: 7.938 kB / 1.264 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.8408, allocations: 0 / 1.264 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.8408, allocations: 4 kB / 1.264 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.8409, allocations: 8 kB / 1.264 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8409, allocations: 8 kB / 1.264 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.841, allocations: 3.938 kB / 1.264 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.841, allocations: 4 kB / 1.264 GB, free: 3.43 MB / 0.9669 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.0001013/0.8411, allocations: 121.8 kB / 1.265 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.8411, allocations: 11.89 kB / 1.265 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.8412, allocations: 7.875 kB / 1.265 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.8412, allocations: 4 kB / 1.265 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8412, allocations: 0 / 1.265 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.8412, allocations: 0 / 1.265 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.8416, allocations: 474.7 kB / 1.265 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8416, allocations: 0 / 1.265 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.8417, allocations: 7.984 kB / 1.265 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8417, allocations: 0 / 1.265 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.8417, allocations: 0 / 1.265 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8417, allocations: 3.984 kB / 1.265 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8417, allocations: 4 kB / 1.265 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.8418, allocations: 81.95 kB / 1.265 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.8419, allocations: 89.05 kB / 1.265 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.8419, allocations: 3.938 kB / 1.265 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.8419, allocations: 0 / 1.265 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.8419, allocations: 0 / 1.265 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.842, allocations: 4 kB / 1.265 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001198/0.8421, allocations: 129.9 kB / 1.265 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8421, allocations: 3.938 kB / 1.265 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000182/0.8423, allocations: 4 kB / 1.265 GB, free: 2.383 MB / 0.9669 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.0004937/0.8428, allocations: 0.6132 MB / 1.266 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.8429, allocations: 27.95 kB / 1.266 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8429, allocations: 0 / 1.266 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.8429, allocations: 4 kB / 1.266 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.8431, allocations: 8 kB / 1.266 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.8444, allocations: 1.331 MB / 1.267 GB, free: 276 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.8448, allocations: 0.6885 MB / 1.268 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.8448, allocations: 8.422 kB / 1.268 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.8449, allocations: 23.44 kB / 1.268 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of SimCode: time 2.184e-06/0.8449, allocations: 0 / 1.268 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.8673, allocations: 1.597 MB / 1.27 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.975, allocations: 11.73 kB / 1.27 GB, free: 14.06 MB / 0.9825 GB " [Timeout remaining time 291] (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.146460616961122]