Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.0009097/0.0009097, 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.0009246/0.0009246, 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.8801/0.8801, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.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_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.441e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001227/0.001241, allocations: 0.8023 MB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 8.826e-05/0.00133, allocations: 35.8 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.001371, allocations: 4 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.001404, allocations: 11.86 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.107e-05/0.001465, allocations: 7.938 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.629e-05/0.001501, allocations: 15.98 kB / 0.9514 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.00159, allocations: 67.77 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.001697, allocations: 27.97 kB / 0.9515 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.001775, allocations: 39.91 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.398e-05/0.001809, allocations: 27.84 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.001828, allocations: 4 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-06/0.001835, allocations: 8 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.00185, allocations: 11.92 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.001873, allocations: 19.94 kB / 0.9516 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.424e-05/0.001957, allocations: 71.75 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.001959, allocations: 0 / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00196, allocations: 3.938 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.001963, allocations: 0 / 0.9516 GB, free: 2.34 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.0003062/0.002269, allocations: 306 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.002315, allocations: 12.02 kB / 0.9519 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.002345, allocations: 38.75 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.002368, allocations: 12.84 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.002507, allocations: 145.4 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.002515, allocations: 4.375 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.002525, allocations: 8.375 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.002639, allocations: 94.28 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.002646, allocations: 192 / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.002655, allocations: 4.375 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.002661, allocations: 12.12 kB / 0.9522 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.86e-05/0.00272, allocations: 39.92 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.003081, allocations: 383.7 kB / 0.9526 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.003124, allocations: 41.28 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.003151, allocations: 21.83 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.003157, allocations: 0 / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.003176, allocations: 38.56 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.82e-07/0.003176, allocations: 0 / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.003304, allocations: 53.59 kB / 0.9528 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.003336, allocations: 84.98 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.003432, allocations: 160.8 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.003441, allocations: 25.7 kB / 0.953 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.003493, allocations: 100.1 kB / 0.9531 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.0035, allocations: 7.953 kB / 0.9532 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.003531, allocations: 25.66 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.003609, allocations: 314.8 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.003623, allocations: 4 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.003642, allocations: 21.95 kB / 0.9535 GB, free: 208 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.003671, allocations: 29.72 kB / 0.9535 GB, free: 172 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.003673, allocations: 0 / 0.9535 GB, free: 172 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.542e-05/0.003728, allocations: 61.58 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.003741, allocations: 8 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.003745, allocations: 0 / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.003756, allocations: 0 / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.003804, allocations: 7.938 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.003809, allocations: 4 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.003826, allocations: 8 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.003829, allocations: 3.938 kB / 0.9536 GB, free: 72 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.135e-05/0.003891, allocations: 121.7 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.003911, allocations: 7.953 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.00393, allocations: 15.8 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.003932, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.003938, allocations: 11.94 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.003941, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.004185, allocations: 437.9 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.004186, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.004196, allocations: 12 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.004198, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.004203, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004204, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.004205, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.628e-05/0.004251, allocations: 73.94 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.004273, allocations: 19.88 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.004283, allocations: 3.938 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.039e-05/0.004293, allocations: 4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.004303, allocations: 96 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.004306, allocations: 8.016 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.004358, allocations: 122.1 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004358, allocations: 0 / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001229/0.00448, allocations: 8 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.0002026/0.004683, allocations: 0.6093 MB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.004741, allocations: 19.94 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.004742, allocations: 0 / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.523e-06/0.004749, allocations: 8.156 kB / 0.9551 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.0001074/0.004856, allocations: 8 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.005732, 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 4.253e-05/0.005775, allocations: 75.33 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.005798, allocations: 8.484 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.005837, allocations: 20.62 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 7.71e-07/0.005838, allocations: 4 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.02217, allocations: 2.239 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.647, allocations: 13.81 kB / 0.9587 GB, free: 10.8 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_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_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.67188675981015]