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.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.0007838/0.0007838, 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.0008621/0.0008621, allocations: 165.9 kB / 22.45 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.8886/0.8886, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.669/1.669, allocations: 359 MB / 0.6037 GB, free: 11.1 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_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 2.094e-06/2.094e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.585e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002611/0.002636, allocations: 0.7908 MB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.00279, allocations: 39.78 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.00286, allocations: 4 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/0.002905, allocations: 7.875 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.003002, allocations: 19.86 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.698e-05/0.003059, allocations: 19.97 kB / 0.9514 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.003184, allocations: 59.84 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.003634, allocations: 23.98 kB / 0.9514 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.003763, allocations: 43.83 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.003817, allocations: 19.92 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.00385, allocations: 4 kB / 0.9515 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.003863, allocations: 8 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.003889, allocations: 15.91 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.003927, allocations: 19.94 kB / 0.9515 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.004091, allocations: 83.62 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.004096, allocations: 0 / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.014e-06/0.004098, allocations: 0 / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.004103, allocations: 0 / 0.9516 GB, free: 2.336 MB / 0.9011 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.0005223/0.004626, allocations: 309.9 kB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.004685, allocations: 8.031 kB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.004734, allocations: 38.75 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.004769, allocations: 12.84 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.005006, allocations: 141.5 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.00502, allocations: 384 / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.005038, allocations: 20.36 kB / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.005219, allocations: 87.94 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.00523, allocations: 192 / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.005242, allocations: 4.375 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.00525, allocations: 12.06 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.302e-05/0.005333, allocations: 35.98 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.005881, allocations: 391.8 kB / 0.9526 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.261e-05/0.005953, allocations: 41.34 kB / 0.9527 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.005992, allocations: 13.78 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.006002, allocations: 4 kB / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.006031, allocations: 38.56 kB / 0.9527 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.006033, allocations: 3.938 kB / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000208/0.006241, allocations: 49.64 kB / 0.9528 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.006294, allocations: 84.98 kB / 0.9529 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.006448, allocations: 157 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.006463, allocations: 33.64 kB / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.006544, allocations: 104 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.006554, allocations: 7.922 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.0066, allocations: 25.92 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.006712, allocations: 314.8 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.006735, allocations: 7.984 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.006763, allocations: 21.72 kB / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.006808, allocations: 21.72 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006811, allocations: 0 / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.64e-05/0.006907, allocations: 61.58 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.006928, allocations: 8 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.006934, allocations: 8.062 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.006949, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.007019, allocations: 7.938 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.007025, allocations: 4 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.007052, allocations: 0 / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.007059, allocations: 4 kB / 0.9536 GB, free: 64 kB / 0.9011 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.0001024/0.007161, allocations: 117.8 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.007212, allocations: 15.89 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.007236, allocations: 11.75 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.00724, allocations: 4 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.007247, allocations: 3.938 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007251, allocations: 4 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.007678, allocations: 429.9 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.007682, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.007709, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.007715, allocations: 3.984 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.007722, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.007726, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007727, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.611e-05/0.007814, allocations: 69.95 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.007848, allocations: 27.91 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.007863, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.00788, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.007894, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.007898, allocations: 3.938 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.557e-05/0.007983, allocations: 119.2 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.007983, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001956/0.008179, allocations: 11.94 kB / 0.9544 GB, free: 15.15 MB / 0.9167 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.0003164/0.008495, allocations: 0.6172 MB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.472e-05/0.00858, allocations: 15.94 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.008582, allocations: 0 / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-06/0.008589, allocations: 7.984 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.008722, allocations: 8 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.009726, allocations: 1.344 MB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.395e-05/0.00979, allocations: 79.67 kB / 0.9564 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.009826, allocations: 12.47 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.009875, allocations: 20.5 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/0.009876, allocations: 0 / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02622, allocations: 2.252 MB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/6.669, allocations: 2.031 kB / 0.9587 GB, free: 10.79 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.785760932601988]