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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008791/0.0008791, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008549/0.0008549, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8964/0.8964, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.737/1.737, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.892e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001315/0.001334, allocations: 0.8011 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.957e-05/0.001434, allocations: 39.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.001479, allocations: 0 / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.001514, allocations: 7.875 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.001595, allocations: 15.81 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.32e-05/0.001639, allocations: 27.97 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.994e-05/0.001739, allocations: 55.84 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.001865, allocations: 27.97 kB / 1.001 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.001949, allocations: 39.84 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.001991, allocations: 19.91 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.002017, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.002023, allocations: 4 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.002044, allocations: 19.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.002072, allocations: 19.92 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.002177, allocations: 67.7 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002179, allocations: 4 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00218, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.002184, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 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.0004362/0.002621, allocations: 314 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.002674, allocations: 12.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.002714, allocations: 34.75 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.002742, allocations: 8.891 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.002931, allocations: 141.6 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.002946, allocations: 12.38 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.002955, allocations: 4.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.003087, allocations: 101.6 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.003095, allocations: 4.125 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-06/0.003103, allocations: 384 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.00311, allocations: 8.125 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.094e-05/0.003171, allocations: 35.92 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.003577, allocations: 391.7 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.003626, allocations: 41.28 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.003654, allocations: 17.84 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.003661, allocations: 8 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.003679, allocations: 30.56 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.00368, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001328/0.003813, allocations: 57.58 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.003851, allocations: 81.05 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.003959, allocations: 160.1 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.003968, allocations: 25.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.004019, allocations: 104 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.004026, allocations: 11.94 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.00405, allocations: 13.97 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.004124, allocations: 330.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.004138, allocations: 11.94 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.004152, allocations: 13.72 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.004184, allocations: 25.72 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.004187, allocations: 4 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.264e-05/0.004239, allocations: 57.58 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.004251, allocations: 4 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004256, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.004268, allocations: 8.062 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.004316, allocations: 7.938 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.00432, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.004338, allocations: 11.98 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-06/0.004342, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 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 5.448e-05/0.004396, allocations: 117.8 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.004419, allocations: 11.94 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.004443, allocations: 11.81 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.004445, allocations: 0 / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.004452, allocations: 3.938 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004455, allocations: 11.88 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.004699, allocations: 430 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.0047, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.004712, allocations: 15.86 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.004713, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.004719, allocations: 4 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004719, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00472, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.356e-05/0.004774, allocations: 74.73 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.004794, allocations: 19.92 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.004804, allocations: 8 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.004813, allocations: 0 / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.004825, allocations: 4 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.004826, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.004886, allocations: 129.4 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004886, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001205/0.005006, allocations: 8 kB / 1.004 GB, free: 9.152 MB / 0.9636 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.0002219/0.005228, allocations: 0.6054 MB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.976e-05/0.005298, allocations: 23.95 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.0053, allocations: 4 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.005307, allocations: 4 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.005427, allocations: 6.234 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.006238, allocations: 1.343 MB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.00628, allocations: 79.52 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.006304, allocations: 16.47 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.006346, allocations: 24.5 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.006346, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.01931, allocations: 2.242 MB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.389/6.409, allocations: 7.438 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 10.416709017008543]