Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007861/0.0007861, 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.0009296/0.0009296, 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.8688/0.8688, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.84e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001272/0.001291, allocations: 0.7868 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.001394, allocations: 39.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.001444, allocations: 7.938 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.001481, allocations: 11.86 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.001546, allocations: 7.922 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.806e-05/0.001594, allocations: 19.98 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.65e-05/0.001691, allocations: 59.78 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.00182, allocations: 31.97 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.001884, allocations: 35.91 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.001928, allocations: 19.91 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.001954, allocations: 12 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.001961, allocations: 4 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.001979, allocations: 15.92 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.002006, allocations: 19.92 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.679e-05/0.002103, allocations: 79.62 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002104, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002105, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002109, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 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.0003318/0.002441, allocations: 302 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.00248, allocations: 8.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.002512, allocations: 46.73 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.002532, allocations: 8.891 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.002675, allocations: 137.5 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.002684, allocations: 12.31 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.002694, allocations: 4.375 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.00282, allocations: 93.89 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.002828, allocations: 4.188 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.002839, allocations: 4.375 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.002846, allocations: 8.109 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.151e-05/0.002908, allocations: 35.92 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.003603, allocations: 399.8 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.003648, allocations: 37.25 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.003675, allocations: 17.78 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.003684, allocations: 3.984 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.003704, allocations: 34.56 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.003705, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.003848, allocations: 49.59 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.003883, allocations: 85.05 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.003995, allocations: 165.8 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.004004, allocations: 25.7 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.004058, allocations: 108 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.004065, allocations: 11.83 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.004089, allocations: 17.72 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.004161, allocations: 318.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.004175, allocations: 8 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.004195, allocations: 25.64 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.004224, allocations: 21.72 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004226, allocations: 4 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.448e-05/0.004291, allocations: 61.59 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.004304, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.004309, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.004322, allocations: 3.984 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.004373, allocations: 11.94 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.004378, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.004396, allocations: 7.953 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.0044, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 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 5.289e-05/0.004453, allocations: 121.8 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.004474, allocations: 7.953 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.004495, allocations: 11.8 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004496, allocations: 0 / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.004502, allocations: 7.938 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.004505, allocations: 0 / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.004747, allocations: 433.9 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.004749, allocations: 4 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-06/0.004758, allocations: 3.938 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.004761, allocations: 4 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.004766, allocations: 4.062 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.004767, allocations: 3.938 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.004769, allocations: 3.984 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.626e-05/0.004825, allocations: 78.72 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.004844, allocations: 11.84 kB / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.004857, allocations: 8 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-06/0.004865, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.00488, allocations: 3.984 kB / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.004883, allocations: 4 kB / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.004944, allocations: 117.5 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004944, allocations: 8.031 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001185/0.005063, allocations: 7.938 kB / 1.004 GB, free: 9.148 MB / 0.9636 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.0002581/0.005321, allocations: 0.6191 MB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.005397, allocations: 19.94 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.005399, allocations: 0 / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-06/0.005406, allocations: 4 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.005521, allocations: 11.94 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008953/0.006416, allocations: 1.346 MB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.006471, allocations: 79.25 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.006499, allocations: 12.48 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.006546, allocations: 20.48 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of SimCode: time 9.62e-07/0.006547, allocations: 4 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.02077, allocations: 2.23 MB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.767, allocations: 5.203 kB / 1.008 GB, free: 4.773 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.898715920746326]