Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008675/0.0008675, 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.0008711/0.0008711, allocations: 165.9 kB / 22.46 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.904/0.904, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.741/1.741, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.981 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.783e-05, allocations: 2.281 kB / 0.981 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001525/0.001542, allocations: 0.7934 MB / 0.9818 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 9.932e-05/0.001642, allocations: 43.78 kB / 0.9818 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.001683, allocations: 0 / 0.9818 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.001715, allocations: 11.86 kB / 0.9818 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.001779, allocations: 3.938 kB / 0.9818 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 4.059e-05/0.00182, allocations: 19.98 kB / 0.9818 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 8.936e-05/0.001909, allocations: 63.78 kB / 0.9819 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.002028, allocations: 43.95 kB / 0.9819 GB, free: 472 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 7.069e-05/0.002099, allocations: 31.92 kB / 0.982 GB, free: 440 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.002137, allocations: 23.89 kB / 0.982 GB, free: 416 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.002158, allocations: 4 kB / 0.982 GB, free: 412 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-06/0.002165, allocations: 8 kB / 0.982 GB, free: 404 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.00218, allocations: 7.938 kB / 0.982 GB, free: 396 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.002206, allocations: 31.84 kB / 0.982 GB, free: 364 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.00232, allocations: 71.75 kB / 0.9821 GB, free: 292 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002323, allocations: 0 / 0.9821 GB, free: 292 kB / 0.8855 GB Notification: Performance of FrontEnd: time 8.92e-07/0.002324, allocations: 0 / 0.9821 GB, free: 292 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.002327, allocations: 3.938 kB / 0.9821 GB, free: 288 kB / 0.8855 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.0003574/0.002685, allocations: 306 kB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.002723, allocations: 8.031 kB / 0.9824 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.002754, allocations: 42.73 kB / 0.9825 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.002776, allocations: 12.84 kB / 0.9825 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.002927, allocations: 133.6 kB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.002937, allocations: 4.375 kB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.002948, allocations: 12.38 kB / 0.9826 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.003066, allocations: 87.86 kB / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.003073, allocations: 192 / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.003084, allocations: 12.38 kB / 0.9827 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.00309, allocations: 8.109 kB / 0.9827 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.726e-05/0.003148, allocations: 35.92 kB / 0.9827 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.00361, allocations: 395.7 kB / 0.9831 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.07e-05/0.003661, allocations: 41.28 kB / 0.9832 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.003691, allocations: 17.78 kB / 0.9832 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.003698, allocations: 0 / 0.9832 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.003717, allocations: 38.55 kB / 0.9832 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.003718, allocations: 0 / 0.9832 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.003853, allocations: 53.59 kB / 0.9833 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.003889, allocations: 85.05 kB / 0.9834 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.003991, allocations: 154.3 kB / 0.9835 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.004, allocations: 29.64 kB / 0.9835 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.00405, allocations: 112.1 kB / 0.9836 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.004056, allocations: 3.953 kB / 0.9836 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.004083, allocations: 21.67 kB / 0.9837 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.00416, allocations: 314.8 kB / 0.984 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.004174, allocations: 8 kB / 0.984 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.004193, allocations: 29.95 kB / 0.984 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.004225, allocations: 21.72 kB / 0.984 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.004228, allocations: 0 / 0.984 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.612e-05/0.004284, allocations: 53.59 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.004297, allocations: 11.94 kB / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.004302, allocations: 0 / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.004313, allocations: 0 / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.004366, allocations: 19.92 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.00437, allocations: 64 / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.004389, allocations: 7.938 kB / 0.9841 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.004394, allocations: 4 kB / 0.9841 GB, free: 14 MB / 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 5.668e-05/0.00445, allocations: 117.8 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.004474, allocations: 7.953 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.004493, allocations: 7.797 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.004496, allocations: 4 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.004501, allocations: 3.938 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004504, allocations: 0 / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.004752, allocations: 437.9 kB / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.004753, allocations: 4.062 kB / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.004765, allocations: 7.938 kB / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.004767, allocations: 0 / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.004774, allocations: 4 kB / 0.9847 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004775, allocations: 4 kB / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004776, allocations: 0 / 0.9847 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.028e-05/0.004827, allocations: 73.94 kB / 0.9848 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.004846, allocations: 11.89 kB / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.004855, allocations: 0 / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.004866, allocations: 8 kB / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.004879, allocations: 15.89 kB / 0.9848 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.004881, allocations: 0 / 0.9848 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.004939, allocations: 121.7 kB / 0.9849 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.004939, allocations: 0 / 0.9849 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001347/0.005073, allocations: 8 kB / 0.9849 GB, free: 13.1 MB / 0.9011 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.000233/0.005306, allocations: 0.6093 MB / 0.9855 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.981e-05/0.005376, allocations: 15.94 kB / 0.9855 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.005378, allocations: 160 / 0.9855 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.005387, allocations: 12 kB / 0.9855 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.005504, allocations: 10.5 kB / 0.9855 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.006349, allocations: 1.339 MB / 0.9868 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.006391, allocations: 83.25 kB / 0.9869 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.006417, allocations: 4.5 kB / 0.9869 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.006458, allocations: 32.61 kB / 0.987 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of SimCode: time 4.81e-07/0.006458, allocations: 0 / 0.987 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.02335, allocations: 2.226 MB / 0.9891 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.556/6.579, allocations: 6.703 kB / 0.9891 GB, free: 8.758 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.673366180621088]