Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0009082/0.0009082, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001039/0.001039, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8895/0.8895, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.627/1.627, 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.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.571e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001917/0.001942, allocations: 0.7907 MB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001302/0.002073, allocations: 43.78 kB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.002127, allocations: 0 / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.002167, allocations: 11.88 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.002246, allocations: 11.88 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.012e-05/0.002296, allocations: 19.97 kB / 0.9514 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.002392, allocations: 63.83 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.002522, allocations: 23.98 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.002589, allocations: 43.83 kB / 0.9515 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.002633, allocations: 11.98 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.002657, allocations: 7.938 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.002665, allocations: 8 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.002686, allocations: 19.91 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.002712, allocations: 16 kB / 0.9516 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.002822, allocations: 79.62 kB / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.002824, allocations: 0 / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.372e-06/0.002826, allocations: 3.938 kB / 0.9516 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.002831, allocations: 0 / 0.9516 GB, free: 2.352 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.0004451/0.003276, allocations: 306 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.003327, allocations: 8.031 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.003375, allocations: 42.73 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.003408, allocations: 12.84 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.003635, allocations: 141.5 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.00365, allocations: 8.375 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.003666, allocations: 8.375 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.003846, allocations: 90.61 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.003859, allocations: 4.172 kB / 0.9522 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.00388, allocations: 4.375 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.00389, allocations: 4.125 kB / 0.9522 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.824e-05/0.003979, allocations: 39.92 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.004559, allocations: 391.8 kB / 0.9526 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.004626, allocations: 41.25 kB / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.004668, allocations: 25.77 kB / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.004677, allocations: 0 / 0.9527 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.004706, allocations: 34.56 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.004707, allocations: 3.938 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002056/0.004913, allocations: 49.59 kB / 0.9528 GB, free: 1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.004958, allocations: 81.05 kB / 0.9529 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.005079, allocations: 160.8 kB / 0.953 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.005089, allocations: 25.7 kB / 0.953 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.005144, allocations: 104.1 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/0.005153, allocations: 12.2 kB / 0.9532 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.005184, allocations: 17.67 kB / 0.9532 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.00528, allocations: 318.8 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.005294, allocations: 11.94 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.005313, allocations: 21.7 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.00535, allocations: 29.72 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005352, allocations: 0 / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.16e-05/0.005424, allocations: 57.58 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005437, allocations: 12.06 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.005443, allocations: 0 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.005456, allocations: 0 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.005515, allocations: 7.938 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.005521, allocations: 4 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.00554, allocations: 4.031 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.005546, allocations: 8 kB / 0.9536 GB, free: 76 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 7.926e-05/0.005626, allocations: 113.8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.005649, allocations: 11.94 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.005675, allocations: 11.8 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.005679, allocations: 8 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.005684, allocations: 3.938 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005687, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.005978, allocations: 437.9 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.00598, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.005996, allocations: 11.88 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005998, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.006004, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.006006, allocations: 4 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006007, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.907e-05/0.006066, allocations: 78 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.006091, allocations: 15.83 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.006103, allocations: 3.984 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-06/0.006113, allocations: 4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.006126, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.006129, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.006192, allocations: 126.3 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006192, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001302/0.006323, allocations: 11.94 kB / 0.9544 GB, free: 15.16 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.0003599/0.006683, allocations: 0.6133 MB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.00681, allocations: 15.94 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.006815, allocations: 0 / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.187e-06/0.006824, allocations: 8 kB / 0.9551 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.0001759/0.007, allocations: 4 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.001227/0.008227, allocations: 1.345 MB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.962e-05/0.008287, allocations: 75.61 kB / 0.9564 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.008324, allocations: 12.48 kB / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.008378, allocations: 20.5 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.008379, allocations: 4 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.02423, allocations: 2.238 MB / 0.9587 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.929, allocations: 6.438 kB / 0.9587 GB, free: 10.81 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.973503828980029]