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.0009106/0.0009106, 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.001216/0.001216, 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.9093/0.9093, allocations: 177.2 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.67/1.67, allocations: 359 MB / 0.6037 GB, free: 11.09 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 1.483e-06/1.483e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.63e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001246/0.001263, allocations: 0.8016 MB / 0.9513 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.472e-05/0.001357, allocations: 39.78 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.001399, allocations: 0 / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.001437, allocations: 7.875 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.001513, allocations: 15.88 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.699e-05/0.00156, allocations: 23.97 kB / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.148e-05/0.001651, allocations: 55.84 kB / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.001769, allocations: 31.97 kB / 0.9515 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.001851, allocations: 39.84 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.623e-05/0.001887, allocations: 19.91 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.001911, allocations: 8 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-06/0.001918, allocations: 4 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.001937, allocations: 15.92 kB / 0.9515 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.001966, allocations: 31.84 kB / 0.9516 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.002064, allocations: 67.77 kB / 0.9516 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002066, allocations: 0 / 0.9516 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002067, allocations: 0 / 0.9516 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002071, allocations: 0 / 0.9516 GB, free: 2.32 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.0003283/0.0024, allocations: 309.9 kB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.002442, allocations: 12.03 kB / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.002476, allocations: 34.75 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.002504, allocations: 12.84 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.002672, allocations: 141.5 kB / 0.9521 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.002684, allocations: 8.375 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.002694, allocations: 12.38 kB / 0.9521 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.002813, allocations: 87.95 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.00282, allocations: 192 / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.002831, allocations: 4.375 kB / 0.9522 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.002838, allocations: 8.125 kB / 0.9522 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.201e-05/0.0029, allocations: 31.92 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.00337, allocations: 399.6 kB / 0.9526 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.107e-05/0.003421, allocations: 37.28 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.003448, allocations: 17.84 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.003455, allocations: 8 kB / 0.9527 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.003474, allocations: 30.56 kB / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.003475, allocations: 0 / 0.9527 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.003608, allocations: 57.58 kB / 0.9528 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.003645, allocations: 85.05 kB / 0.9529 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.00375, allocations: 156.8 kB / 0.953 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.00379, allocations: 29.64 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.003841, allocations: 108.1 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.003847, allocations: 3.953 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.003873, allocations: 21.92 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.003953, allocations: 322.8 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.003968, allocations: 8 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.003985, allocations: 17.72 kB / 0.9535 GB, free: 180 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.004016, allocations: 21.72 kB / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.004018, allocations: 4 kB / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.229e-05/0.00407, allocations: 61.58 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.004083, allocations: 4 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.004087, allocations: 64 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.004104, allocations: 8 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.004152, allocations: 7.938 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.004156, allocations: 0 / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.004173, allocations: 7.938 kB / 0.9536 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.004178, allocations: 4 kB / 0.9536 GB, free: 48 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.816e-05/0.004246, allocations: 121.8 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.004267, allocations: 7.953 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.004283, allocations: 11.75 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.004285, allocations: 96 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.00429, allocations: 3.938 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.004294, allocations: 7.984 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.004602, allocations: 441.9 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004603, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-06/0.004613, allocations: 11.92 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.004614, allocations: 3.938 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.004619, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.00462, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004621, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.747e-05/0.004668, allocations: 73.95 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.004688, allocations: 19.97 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.004697, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.004708, allocations: 4 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.004721, allocations: 7.938 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.004722, allocations: 0 / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.004778, allocations: 122.5 kB / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004778, allocations: 0 / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001278/0.004906, allocations: 8 kB / 0.9544 GB, free: 15.13 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.0002048/0.00511, allocations: 0.6093 MB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.507e-05/0.005175, allocations: 23.95 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.005178, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-06/0.005184, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.005294, allocations: 8 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.006242, allocations: 1.333 MB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.846e-05/0.00629, allocations: 79.58 kB / 0.9564 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.006316, allocations: 8.484 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.006359, allocations: 24.5 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.00636, allocations: 0 / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.02215, allocations: 2.249 MB / 0.9587 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.787, allocations: 4.5 kB / 0.9587 GB, free: 10.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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.812899216078222]