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.0007863/0.0007863, 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.0008077/0.0008077, allocations: 169.9 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.8645/0.8645, 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.642/1.642, 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.483e-06/1.483e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.505e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001364/0.001379, allocations: 0.7907 MB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.001483, allocations: 43.78 kB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.001537, allocations: 0 / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.001575, allocations: 15.8 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.001659, allocations: 7.938 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.19e-05/0.001701, allocations: 11.98 kB / 0.9514 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.001814, allocations: 63.84 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.001953, allocations: 31.95 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.002044, allocations: 39.84 kB / 0.9515 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.002089, allocations: 23.91 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.002116, allocations: 8 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.002123, allocations: 4 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.002145, allocations: 19.92 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.00217, allocations: 11.94 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.002275, allocations: 75.69 kB / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.002277, allocations: 0 / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002278, allocations: 0 / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.002282, allocations: 3.938 kB / 0.9516 GB, free: 2.355 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.0004981/0.00278, allocations: 302 kB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.002821, allocations: 16.03 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.002855, allocations: 42.73 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.002878, allocations: 12.84 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.00303, allocations: 141.5 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.00304, allocations: 8.312 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.003051, allocations: 12.36 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.003178, allocations: 94.3 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003186, allocations: 192 / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003194, allocations: 384 / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.0032, allocations: 4.125 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.00326, allocations: 47.91 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.003651, allocations: 387.8 kB / 0.9526 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.003702, allocations: 41.25 kB / 0.9527 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.00373, allocations: 17.77 kB / 0.9527 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.003738, allocations: 4 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.003759, allocations: 34.56 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.003761, allocations: 0 / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001419/0.003903, allocations: 49.84 kB / 0.9528 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.003943, allocations: 89.05 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.004056, allocations: 161 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.004066, allocations: 25.7 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.004124, allocations: 100.1 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.004131, allocations: 3.953 kB / 0.9531 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.004159, allocations: 21.67 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.004252, allocations: 322.8 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.004267, allocations: 4 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.004295, allocations: 25.64 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.004332, allocations: 29.72 kB / 0.9535 GB, free: 180 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004334, allocations: 0 / 0.9535 GB, free: 180 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.033e-05/0.004405, allocations: 61.59 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.00442, allocations: 4 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.004427, allocations: 3.984 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.004441, allocations: 0 / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.004498, allocations: 11.94 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.004503, allocations: 0 / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.004523, allocations: 7.938 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.004527, allocations: 4.062 kB / 0.9536 GB, free: 80 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 6.992e-05/0.004596, allocations: 113.8 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.004618, allocations: 15.83 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.004642, allocations: 15.8 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004643, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.004649, allocations: 3.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.004652, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.004929, allocations: 437.9 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.00493, allocations: 4 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.004943, allocations: 3.938 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.004945, allocations: 8.062 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.004953, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.004955, allocations: 3.938 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.004956, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.051e-05/0.005017, allocations: 77.94 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.005039, allocations: 15.89 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.005051, allocations: 3.984 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-06/0.00506, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.005074, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.005077, allocations: 4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.048e-05/0.005138, allocations: 123.3 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005138, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001218/0.00526, allocations: 4 kB / 0.9544 GB, free: 15.17 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.0002431/0.005503, allocations: 0.6171 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.005578, allocations: 15.94 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.005581, allocations: 0 / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.36e-06/0.005586, allocations: 4 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.005708, allocations: 14.17 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.006922, allocations: 1.344 MB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.006968, allocations: 79.31 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.006993, allocations: 8.578 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.007036, allocations: 24.48 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 4.1e-07/0.007036, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.02134, allocations: 2.246 MB / 0.9587 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/6.887, allocations: 4.5 kB / 0.9587 GB, free: 10.81 MB / 0.9167 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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.769705983810127]