Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007889/0.0007889, 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.0008153/0.0008153, 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.893/0.893, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.724/1.724, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.From_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.519e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002012/0.002037, allocations: 0.7975 MB / 0.9818 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.002164, allocations: 43.78 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.002217, allocations: 0 / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.002258, allocations: 11.86 kB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.749e-05/0.002346, allocations: 7.938 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.37e-05/0.002389, allocations: 11.98 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.00248, allocations: 75.77 kB / 0.9819 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.002584, allocations: 23.98 kB / 0.9819 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.002645, allocations: 39.89 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.002685, allocations: 19.91 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.002705, allocations: 4 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.002712, allocations: 11.94 kB / 0.982 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.002729, allocations: 11.94 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.002754, allocations: 23.91 kB / 0.982 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/0.002842, allocations: 75.69 kB / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002843, allocations: 0 / 0.9821 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.41e-07/0.002844, allocations: 4 kB / 0.9821 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.002848, allocations: 0 / 0.9821 GB, free: 1.402 MB / 0.9323 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.0003096/0.003157, allocations: 298 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.003191, allocations: 8.031 kB / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.003222, allocations: 46.73 kB / 0.9824 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.922e-05/0.003241, allocations: 16.78 kB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.003377, allocations: 133.6 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.003384, allocations: 384 / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.003396, allocations: 16.38 kB / 0.9826 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.003504, allocations: 87.95 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.003511, allocations: 4.188 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.003519, allocations: 4.375 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003524, allocations: 8.062 kB / 0.9827 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.003581, allocations: 39.92 kB / 0.9827 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.003938, allocations: 391.8 kB / 0.9831 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.357e-05/0.003982, allocations: 41.34 kB / 0.9831 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.004007, allocations: 17.78 kB / 0.9832 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-06/0.004014, allocations: 3.984 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.004031, allocations: 38.56 kB / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.004032, allocations: 0 / 0.9832 GB, free: 116 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001243/0.004157, allocations: 53.58 kB / 0.9833 GB, free: 56 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.0042, allocations: 81.05 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.004399, allocations: 164.3 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.004407, allocations: 25.7 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.004455, allocations: 108 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.004462, allocations: 7.891 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.004486, allocations: 17.72 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.004556, allocations: 318.8 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.004567, allocations: 8.25 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.004584, allocations: 21.72 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.004616, allocations: 29.7 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004617, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.805e-05/0.004665, allocations: 53.59 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.004678, allocations: 10.81 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.004682, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.004693, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.004739, allocations: 15.98 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.004744, allocations: 7.938 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.004759, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.004763, allocations: 4 kB / 0.9841 GB, free: 15.13 MB / 0.948 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.403e-05/0.004817, allocations: 117.8 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.004839, allocations: 11.91 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.595e-05/0.004855, allocations: 7.812 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.004858, allocations: 4 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.004863, allocations: 3.938 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.004866, allocations: 3.984 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.005096, allocations: 433.9 kB / 0.9846 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.005097, allocations: 0 / 0.9846 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/0.005107, allocations: 7.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005108, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-06/0.005113, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005113, allocations: 4 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005114, allocations: 3.938 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.829e-05/0.005162, allocations: 77.94 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.00518, allocations: 11.89 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.005189, allocations: 4.094 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.005199, allocations: 8 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.005209, allocations: 3.938 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.005212, allocations: 3.984 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.005265, allocations: 118.1 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005265, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000122/0.005387, allocations: 15.94 kB / 0.9849 GB, free: 14.23 MB / 0.948 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.000199/0.005586, allocations: 0.6132 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.286e-05/0.005648, allocations: 23.95 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00565, allocations: 0 / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.74e-06/0.005656, allocations: 4 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.00578, allocations: 11.91 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/0.006769, allocations: 1.339 MB / 0.9868 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.00681, allocations: 75.31 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.006831, allocations: 12.75 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.006869, allocations: 24.48 kB / 0.9869 GB, free: 11.96 MB / 0.948 GB Notification: Performance of SimCode: time 6.12e-07/0.00687, allocations: 4 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.02009, allocations: 2.229 MB / 0.9891 GB, free: 9.871 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.746, allocations: 4.688 kB / 0.9891 GB, free: 9.871 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.790562520734966]