Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001664/0.001664, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001554/0.001554, allocations: 219 kB / 22.25 MB, free: 5.258 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 0.49 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.002092/0.002092, allocations: 72.83 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3449, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002549/0.3474, allocations: 0.802 MB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000172/0.3476, allocations: 39.78 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.3476, allocations: 0 / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.031e-05/0.3477, allocations: 7.875 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.3478, allocations: 11.94 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.477e-05/0.3479, allocations: 23.97 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.348, allocations: 59.78 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.3481, allocations: 31.98 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.3482, allocations: 27.86 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.3483, allocations: 27.84 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.3483, allocations: 8 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.3483, allocations: 4 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.3484, allocations: 19.92 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.3484, allocations: 27.81 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3486, allocations: 87.78 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3486, allocations: 0 / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3486, allocations: 0 / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.3486, allocations: 0 / 1.327 GB, free: 292 kB / 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.0004945/0.3491, allocations: 302 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3491, allocations: 12.03 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.3492, allocations: 42.73 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3492, allocations: 8.891 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3494, allocations: 130.4 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3494, allocations: 16.27 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3494, allocations: 8.375 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3496, allocations: 91.95 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3496, allocations: 3.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3496, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3497, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.3497, allocations: 39.86 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.3503, allocations: 387.8 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.3504, allocations: 37.28 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.3504, allocations: 21.84 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3504, allocations: 4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3505, allocations: 34.55 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3505, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001883/0.3507, allocations: 57.53 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.3507, allocations: 81.11 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3509, allocations: 165.2 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3509, allocations: 25.7 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.351, allocations: 112 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.351, allocations: 7.953 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3511, allocations: 17.97 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3512, allocations: 322.8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.3512, allocations: 4 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.3513, allocations: 25.64 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.3513, allocations: 25.72 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3513, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.416e-05/0.3514, allocations: 57.59 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3514, allocations: 7.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3514, allocations: 8 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3514, allocations: 4.062 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.3515, allocations: 7.984 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3515, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.3515, allocations: 7.953 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.3515, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 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 9.472e-05/0.3516, allocations: 122.2 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.3517, allocations: 11.89 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.3517, allocations: 15.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3517, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3517, allocations: 4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3517, allocations: 4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.3522, allocations: 433.9 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3522, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.3522, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3522, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3522, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3522, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3522, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.3523, allocations: 81.83 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.3524, allocations: 19.98 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3524, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.3524, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.3524, allocations: 11.92 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3524, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001045/0.3525, allocations: 121.1 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3525, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001951/0.3527, allocations: 12 kB / 1.33 GB, free: 13.09 MB / 1.029 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.0004706/0.3532, allocations: 0.6054 MB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.3533, allocations: 23.97 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3533, allocations: 0 / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.3533, allocations: 11.94 kB / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3535, allocations: 11.69 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3549, allocations: 1.326 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.477e-05/0.3549, allocations: 95.34 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.355, allocations: 4.438 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.355, allocations: 27.42 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.355, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.3847, allocations: 2.136 MB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.56, allocations: 1.719 kB / 1.334 GB, free: 8.844 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.562110765982652]