Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001447/0.001447, allocations: 108.2 kB / 17.54 MB, free: 4.742 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.001474/0.001474, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.524/2.524, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 75.88 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.834, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001856/0.8359, allocations: 0.8456 MB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001072/0.836, allocations: 49.09 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.836, allocations: 1.656 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.8361, allocations: 6.188 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.8362, allocations: 9.906 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.386e-05/0.8362, allocations: 20.14 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.8363, allocations: 63.38 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.8364, allocations: 31.67 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.8365, allocations: 27.12 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.8366, allocations: 25.8 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.8366, allocations: 10.53 kB / 1.272 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.8366, allocations: 5.656 kB / 1.272 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.8366, allocations: 21.14 kB / 1.272 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.8366, allocations: 36.33 kB / 1.273 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.8368, allocations: 72.78 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8368, allocations: 0 / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8368, allocations: 1.406 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8368, allocations: 0 / 1.273 GB, free: 6.988 MB / 0.9981 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.0003588/0.8371, allocations: 376.7 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8372, allocations: 13 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.8372, allocations: 43.12 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.8372, allocations: 14 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.8374, allocations: 200.6 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.8374, allocations: 3.844 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.8374, allocations: 9.359 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.8376, allocations: 92.34 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8376, allocations: 3.938 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.8376, allocations: 6.297 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.8376, allocations: 1.688 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.8377, allocations: 40.19 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.8381, allocations: 429.6 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.8381, allocations: 46.39 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.8381, allocations: 19.56 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.8382, allocations: 4.812 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.8382, allocations: 35.95 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8382, allocations: 0.8438 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001467/0.8383, allocations: 56.94 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.8383, allocations: 82.11 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8385, allocations: 158.6 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.8385, allocations: 26.45 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.8385, allocations: 103.8 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/0.8385, allocations: 6.25 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.8385, allocations: 21.8 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.8386, allocations: 320.9 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.8386, allocations: 6.719 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.8386, allocations: 28.64 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.8387, allocations: 22.56 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8387, allocations: 0 / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.015e-05/0.8387, allocations: 62.03 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.8387, allocations: 10.25 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8387, allocations: 0.6875 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.8388, allocations: 4.938 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.8388, allocations: 7.812 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.8388, allocations: 0.7188 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.8389, allocations: 6.406 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.8389, allocations: 1.906 kB / 1.275 GB, free: 4.859 MB / 0.9981 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 4.521e-05/0.8389, allocations: 113.4 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.8389, allocations: 15.41 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.839, allocations: 17.59 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.839, allocations: 8.781 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.839, allocations: 0.9062 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.839, allocations: 0.7188 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.8392, allocations: 462.6 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.8392, allocations: 3.938 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.8392, allocations: 3.562 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8392, allocations: 1.141 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.8392, allocations: 0.8438 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8392, allocations: 6.641 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8393, allocations: 1.438 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.617e-05/0.8393, allocations: 80.09 kB / 1.275 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.8393, allocations: 85.41 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.8393, allocations: 3.156 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.8394, allocations: 0 / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.8394, allocations: 9.812 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.8394, allocations: 4.75 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.8395, allocations: 125.8 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8395, allocations: 0 / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001752/0.8396, allocations: 7.5 kB / 1.276 GB, free: 3.938 MB / 0.9981 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.0002428/0.8399, allocations: 0.6158 MB / 1.276 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.591e-05/0.8399, allocations: 19.44 kB / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8399, allocations: 0 / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.84, allocations: 9.703 kB / 1.276 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.8401, allocations: 10.75 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009535/0.8411, allocations: 1.345 MB / 1.278 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.8413, allocations: 0.6917 MB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.8414, allocations: 8.578 kB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.8414, allocations: 21.14 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.8414, allocations: 0 / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.8643, allocations: 1.57 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.784, allocations: 14.22 kB / 1.28 GB, free: 16.96 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.253374403000635]