Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009331/0.0009331, allocations: 80.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.0008971/0.0008971, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8847/0.8847, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.9505 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.447e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001436/0.001461, allocations: 0.7958 MB / 0.9513 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 9.901e-05/0.00156, allocations: 35.8 kB / 0.9513 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.001605, allocations: 4 kB / 0.9513 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.00164, allocations: 11.86 kB / 0.9513 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.001712, allocations: 7.922 kB / 0.9513 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.961e-05/0.001751, allocations: 19.98 kB / 0.9514 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.997e-05/0.001851, allocations: 63.78 kB / 0.9514 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.001979, allocations: 35.95 kB / 0.9515 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.002062, allocations: 35.91 kB / 0.9515 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.002104, allocations: 19.92 kB / 0.9515 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.002125, allocations: 4 kB / 0.9515 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-06/0.002133, allocations: 11.94 kB / 0.9515 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.002152, allocations: 19.91 kB / 0.9515 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.002177, allocations: 15.94 kB / 0.9516 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.902e-05/0.002276, allocations: 83.56 kB / 0.9516 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.002279, allocations: 0 / 0.9516 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.82e-07/0.00228, allocations: 0 / 0.9516 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.002284, allocations: 0 / 0.9516 GB, free: 1.188 MB / 0.8542 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.0003552/0.002639, allocations: 310 kB / 0.9519 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.002678, allocations: 8.031 kB / 0.9519 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.00271, allocations: 42.73 kB / 0.952 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.002732, allocations: 12.84 kB / 0.952 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.002877, allocations: 133.5 kB / 0.9521 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.002887, allocations: 8.375 kB / 0.9521 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.002895, allocations: 4.375 kB / 0.9521 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.003017, allocations: 98.44 kB / 0.9522 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.003026, allocations: 192 / 0.9522 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.003035, allocations: 4.375 kB / 0.9522 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.003042, allocations: 8.125 kB / 0.9522 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.003103, allocations: 39.92 kB / 0.9523 GB, free: 468 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.003534, allocations: 383.9 kB / 0.9526 GB, free: 36 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.21e-05/0.003596, allocations: 41.19 kB / 0.9527 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.003628, allocations: 25.83 kB / 0.9527 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.003634, allocations: 0 / 0.9527 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.003656, allocations: 34.56 kB / 0.9527 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.003657, allocations: 0 / 0.9527 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/0.00381, allocations: 53.59 kB / 0.9528 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.003853, allocations: 81.05 kB / 0.9529 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.003972, allocations: 160.5 kB / 0.953 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.003983, allocations: 25.7 kB / 0.953 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.004049, allocations: 100.1 kB / 0.9531 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.004059, allocations: 15.89 kB / 0.9532 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.004089, allocations: 21.66 kB / 0.9532 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.004187, allocations: 314.8 kB / 0.9535 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.004203, allocations: 11.94 kB / 0.9535 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.004232, allocations: 25.89 kB / 0.9535 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.004272, allocations: 29.72 kB / 0.9535 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.004275, allocations: 0 / 0.9535 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.63e-05/0.004341, allocations: 57.58 kB / 0.9536 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.004358, allocations: 8 kB / 0.9536 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.004364, allocations: 0 / 0.9536 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.004378, allocations: 3.938 kB / 0.9536 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.004443, allocations: 7.938 kB / 0.9536 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.004451, allocations: 4.062 kB / 0.9536 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.004469, allocations: 4 kB / 0.9536 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.004473, allocations: 0 / 0.9536 GB, free: 14.92 MB / 0.8698 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 6.875e-05/0.004542, allocations: 113.8 kB / 0.9537 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.004566, allocations: 7.953 kB / 0.9537 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.00459, allocations: 15.8 kB / 0.9538 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004592, allocations: 0 / 0.9538 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.004599, allocations: 7.938 kB / 0.9538 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.004602, allocations: 0 / 0.9538 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.004908, allocations: 433.9 kB / 0.9542 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.004912, allocations: 8.062 kB / 0.9542 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.004927, allocations: 7.938 kB / 0.9542 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.004929, allocations: 0 / 0.9542 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.004939, allocations: 7.938 kB / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.004941, allocations: 4 kB / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.004942, allocations: 96 / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.457e-05/0.005017, allocations: 77.92 kB / 0.9543 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.00504, allocations: 11.89 kB / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.005054, allocations: 3.984 kB / 0.9543 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.005065, allocations: 4 kB / 0.9543 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.005077, allocations: 4.031 kB / 0.9543 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.005078, allocations: 0 / 0.9543 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.547e-05/0.005153, allocations: 125.7 kB / 0.9544 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005153, allocations: 0 / 0.9544 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001333/0.005287, allocations: 11.94 kB / 0.9544 GB, free: 14.01 MB / 0.8698 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.0002893/0.005576, allocations: 0.6093 MB / 0.955 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.94e-05/0.005645, allocations: 19.94 kB / 0.955 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005647, allocations: 4.094 kB / 0.9551 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.005655, allocations: 12 kB / 0.9551 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.005771, allocations: 4 kB / 0.9551 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.006613, allocations: 1.344 MB / 0.9564 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.006661, allocations: 79.19 kB / 0.9565 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.006688, allocations: 8.484 kB / 0.9565 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.00673, allocations: 28.62 kB / 0.9565 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/0.00673, allocations: 0 / 0.9565 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.02042, allocations: 2.239 MB / 0.9587 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/6.757, allocations: 7.031 kB / 0.9587 GB, free: 9.648 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_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_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.765390454791486]