Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001338/0.001338, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001663/0.001663, allocations: 218.8 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] 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 3.343/3.343, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 68.03 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4205, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002866/0.4234, allocations: 0.8257 MB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.4235, allocations: 43.78 kB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.4236, allocations: 4 kB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.4237, allocations: 7.875 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.4238, allocations: 11.88 kB / 1.354 GB, free: 7.512 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.507e-05/0.4238, allocations: 15.98 kB / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.424, allocations: 63.83 kB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.4242, allocations: 31.97 kB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.4242, allocations: 27.86 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.4243, allocations: 27.86 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.4243, allocations: 7.938 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.4244, allocations: 12 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.4244, allocations: 15.92 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.4244, allocations: 31.75 kB / 1.354 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.4246, allocations: 79.84 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4246, allocations: 0 / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4246, allocations: 0 / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.4246, allocations: 4 kB / 1.354 GB, free: 7.199 MB / 1.045 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.0005896/0.4252, allocations: 304.1 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.4253, allocations: 8.031 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.4253, allocations: 46.73 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.4254, allocations: 12.89 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.4256, allocations: 138.3 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4257, allocations: 4.375 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.4257, allocations: 12.36 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.4259, allocations: 97.36 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4259, allocations: 3.938 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4259, allocations: 4 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.426, allocations: 8 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.4261, allocations: 35.92 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.4268, allocations: 407.8 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.4269, allocations: 37.16 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.427, allocations: 17.84 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.427, allocations: 4 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.427, allocations: 34.59 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.427, allocations: 0 / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002503/0.4273, allocations: 61.52 kB / 1.355 GB, free: 5.828 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.4273, allocations: 77.36 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.4275, allocations: 160.7 kB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4276, allocations: 29.7 kB / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.4277, allocations: 112 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.4277, allocations: 3.953 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.4277, allocations: 17.72 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.4279, allocations: 318.8 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.428, allocations: 4 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.428, allocations: 21.72 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.4281, allocations: 33.64 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4281, allocations: 0 / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.4282, allocations: 53.66 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4282, allocations: 7.938 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4282, allocations: 4 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4282, allocations: 0 / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.4283, allocations: 15.98 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4283, allocations: 0 / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.4284, allocations: 7.953 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.4284, allocations: 0 / 1.356 GB, free: 4.91 MB / 1.045 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.0001158/0.4285, allocations: 117.8 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.4286, allocations: 11.89 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.4287, allocations: 11.81 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4287, allocations: 3.984 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4287, allocations: 0 / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4287, allocations: 8 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.4293, allocations: 445.7 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4293, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.4293, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.4293, allocations: 4 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.4293, allocations: 0 / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4293, allocations: 0 / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4293, allocations: 8.062 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.4295, allocations: 89.75 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.4295, allocations: 7.953 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.4295, allocations: 4 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.4296, allocations: 0 / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.4296, allocations: 3.984 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.4296, allocations: 4.031 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001426/0.4297, allocations: 120.9 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4297, allocations: 3.938 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003579/0.4301, allocations: 8 kB / 1.357 GB, free: 3.984 MB / 1.045 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.0005851/0.4307, allocations: 0.6171 MB / 1.357 GB, free: 3.336 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.4308, allocations: 15.98 kB / 1.357 GB, free: 3.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4308, allocations: 0 / 1.357 GB, free: 3.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.4308, allocations: 7.938 kB / 1.357 GB, free: 3.312 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.4311, allocations: 9.719 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.433, allocations: 1.333 MB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.4335, allocations: 0.6924 MB / 1.359 GB, free: 1.156 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.484e-05/0.4335, allocations: 12.5 kB / 1.359 GB, free: 1.145 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.4336, allocations: 23.42 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of SimCode: time 3.9e-07/0.4336, allocations: 0 / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.4665, allocations: 1.678 MB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.7, allocations: 15.25 kB / 1.361 GB, free: 15.55 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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: 18.600709604099393]