Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.0007991/0.0007991, 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.0007859/0.0007859, 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.9003/0.9003, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.744/1.744, allocations: 377.8 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.From_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.987e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001393/0.001413, allocations: 0.7944 MB / 0.9817 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.00152, allocations: 43.84 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.001573, allocations: 3.938 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.001612, allocations: 7.922 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.303e-05/0.001695, allocations: 11.81 kB / 0.9818 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.051e-05/0.001736, allocations: 15.98 kB / 0.9818 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.001835, allocations: 63.84 kB / 0.9819 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.001959, allocations: 35.91 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.002025, allocations: 39.91 kB / 0.982 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.002079, allocations: 19.91 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.002104, allocations: 4 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.002112, allocations: 8 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.002131, allocations: 15.92 kB / 0.982 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.002155, allocations: 15.94 kB / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.002262, allocations: 75.69 kB / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.002265, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002266, allocations: 3.938 kB / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.002271, allocations: 0 / 0.9821 GB, free: 1.414 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.0003769/0.002648, allocations: 302 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.002691, allocations: 8.031 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.002727, allocations: 46.73 kB / 0.9824 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.002752, allocations: 12.84 kB / 0.9824 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.002909, allocations: 133.7 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.00292, allocations: 4.375 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.002931, allocations: 12.38 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.003059, allocations: 94.7 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.003067, allocations: 192 / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.003079, allocations: 8.359 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.003086, allocations: 8.062 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.003147, allocations: 39.98 kB / 0.9827 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.003559, allocations: 391.8 kB / 0.9831 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.003608, allocations: 37.22 kB / 0.9831 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.003637, allocations: 21.8 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.003644, allocations: 4 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.003664, allocations: 34.56 kB / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.003665, allocations: 0 / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.003809, allocations: 57.8 kB / 0.9833 GB, free: 64 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.003858, allocations: 81.05 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.003962, allocations: 160.3 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.003971, allocations: 25.7 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.004023, allocations: 108 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.00403, allocations: 3.953 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.004054, allocations: 21.66 kB / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.004127, allocations: 318.8 kB / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.00414, allocations: 4 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.00416, allocations: 25.7 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.004196, allocations: 33.69 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.004199, allocations: 0 / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.686e-05/0.004255, allocations: 49.66 kB / 0.984 GB, free: 15.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.00427, allocations: 15.92 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.004275, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.004286, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.004345, allocations: 11.94 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.00435, allocations: 0 / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.004367, allocations: 3.938 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.004376, allocations: 8.062 kB / 0.9841 GB, free: 15.14 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 6.378e-05/0.00444, allocations: 113.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.004463, allocations: 11.91 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.004482, allocations: 11.8 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.004485, allocations: 4 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.00449, allocations: 3.938 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.004494, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.00475, allocations: 433.9 kB / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.004751, allocations: 0 / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.004764, allocations: 8 kB / 0.9846 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.004765, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.004771, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.004773, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004773, allocations: 3.938 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.783e-05/0.004831, allocations: 81.88 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.004853, allocations: 11.89 kB / 0.9847 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.004865, allocations: 7.984 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.004875, allocations: 4 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.004886, allocations: 0 / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.004887, allocations: 32 / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.004949, allocations: 126.1 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004949, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001286/0.005077, allocations: 12 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.0002664/0.005344, allocations: 0.617 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.097e-05/0.005415, allocations: 12 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.005417, allocations: 0 / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.074e-06/0.005424, allocations: 8.156 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.00555, allocations: 18.72 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.006416, allocations: 1.347 MB / 0.9868 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.493e-05/0.006461, allocations: 71.33 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.006489, allocations: 12.48 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.006532, allocations: 24.5 kB / 0.9869 GB, free: 11.97 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/0.006533, allocations: 4 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.02282, allocations: 2.23 MB / 0.9891 GB, free: 9.879 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.779/6.801, allocations: 0 / 0.9891 GB, free: 9.879 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_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_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: 11.010595769621432]