Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.0009109/0.0009109, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008591/0.0008591, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8796/0.8796, 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.753/1.753, allocations: 377.9 MB / 0.6221 GB, free: 8.66 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_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.222e-05, allocations: 6.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001759/0.001781, allocations: 0.7906 MB / 0.9817 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001176/0.001899, allocations: 43.72 kB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.001949, allocations: 4 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.001985, allocations: 15.86 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.002055, allocations: 7.922 kB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.894e-05/0.002094, allocations: 19.98 kB / 0.9818 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.002185, allocations: 59.84 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.00232, allocations: 35.86 kB / 0.9819 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.002397, allocations: 35.91 kB / 0.982 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.002452, allocations: 23.91 kB / 0.982 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.002475, allocations: 4 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.002493, allocations: 8 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.002513, allocations: 11.92 kB / 0.982 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.002544, allocations: 27.92 kB / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.002647, allocations: 75.69 kB / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.00265, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002651, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.002661, allocations: 0 / 0.9821 GB, free: 1.418 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.0003671/0.003028, allocations: 298 kB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.003065, allocations: 8.031 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.003099, allocations: 42.73 kB / 0.9824 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.003122, allocations: 12.84 kB / 0.9824 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.003266, allocations: 129.6 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.003277, allocations: 16.38 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.003286, allocations: 12.31 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.003402, allocations: 90.92 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.003409, allocations: 192 / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.003418, allocations: 4.375 kB / 0.9827 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.003424, allocations: 12.06 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.003482, allocations: 35.92 kB / 0.9827 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.003858, allocations: 395.8 kB / 0.9831 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.003903, allocations: 37.19 kB / 0.9831 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.003932, allocations: 25.84 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.003939, allocations: 0 / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.003958, allocations: 30.56 kB / 0.9832 GB, free: 140 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.003959, allocations: 4 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001338/0.004093, allocations: 57.58 kB / 0.9833 GB, free: 72 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.004145, allocations: 81.05 kB / 0.9833 GB, free: 15.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.004249, allocations: 156.3 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.004258, allocations: 25.7 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.004308, allocations: 108 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.004316, allocations: 12.2 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.004341, allocations: 17.72 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.004411, allocations: 318.8 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.004423, allocations: 4 kB / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.004439, allocations: 21.66 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.004469, allocations: 29.7 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004471, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.477e-05/0.004525, allocations: 57.59 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.004537, allocations: 12.06 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.004542, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.004557, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.004605, allocations: 11.92 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.00461, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.004626, allocations: 7.938 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.00463, allocations: 0 / 0.9841 GB, free: 15.16 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.255e-05/0.004682, allocations: 113.8 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.004703, allocations: 11.91 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.004719, allocations: 11.81 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.00472, allocations: 3.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.004726, allocations: 11.94 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.004728, allocations: 3.984 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.004966, allocations: 429.9 kB / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004967, allocations: 0 / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-06/0.004975, allocations: 7.938 kB / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.004976, allocations: 3.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.004981, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.004982, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004983, allocations: 7.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.054e-05/0.005033, allocations: 78 kB / 0.9847 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.005052, allocations: 15.89 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.005063, allocations: 4.094 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.005072, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.005083, allocations: 7.984 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.005085, allocations: 3.984 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.602e-05/0.005141, allocations: 118.1 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005141, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001187/0.00526, allocations: 8 kB / 0.9849 GB, free: 14.25 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.0002086/0.005468, allocations: 0.6171 MB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.005541, allocations: 23.92 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005543, allocations: 0 / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.005549, allocations: 4 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.005664, allocations: 11.91 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.006458, allocations: 1.342 MB / 0.9868 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.099e-05/0.006509, allocations: 83.59 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.006532, allocations: 4.5 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.006571, allocations: 28.48 kB / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.006571, allocations: 0 / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.02086, allocations: 2.231 MB / 0.9891 GB, free: 9.895 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.718, allocations: 10.69 kB / 0.9891 GB, free: 9.887 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_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_cfm.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.895007990300655]