Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.0007672/0.0007672, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0007973/0.0007973, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8787/0.8787, allocations: 177.1 MB / 202.8 MB, free: 5.703 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.726/1.726, allocations: 377.8 MB / 0.6221 GB, free: 8.664 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_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.559e-05, allocations: 6.219 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001813/0.001838, allocations: 0.8023 MB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.001951, allocations: 35.8 kB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.002001, allocations: 4 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.002038, allocations: 7.875 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.002115, allocations: 15.91 kB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.217e-05/0.002157, allocations: 15.98 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.002265, allocations: 67.78 kB / 0.9819 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.002392, allocations: 31.92 kB / 0.9819 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.002461, allocations: 35.91 kB / 0.982 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.002514, allocations: 19.91 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.002538, allocations: 8 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.002545, allocations: 4 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.002564, allocations: 15.92 kB / 0.982 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.002594, allocations: 23.92 kB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.002701, allocations: 67.7 kB / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.002704, allocations: 0 / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.343e-06/0.002706, allocations: 0 / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.002711, allocations: 8 kB / 0.9821 GB, free: 1.422 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.0003508/0.003062, allocations: 298 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.003103, allocations: 12.03 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.003134, allocations: 34.75 kB / 0.9824 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.003159, allocations: 20.83 kB / 0.9824 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.003325, allocations: 133.6 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.003335, allocations: 8.375 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.003345, allocations: 12.31 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.003468, allocations: 90.61 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003475, allocations: 192 / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.003484, allocations: 8.375 kB / 0.9827 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.003491, allocations: 8.125 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.336e-05/0.003555, allocations: 39.86 kB / 0.9827 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.003947, allocations: 395.8 kB / 0.9831 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/0.003994, allocations: 41.19 kB / 0.9831 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.004021, allocations: 17.84 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.004028, allocations: 0 / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.004048, allocations: 34.56 kB / 0.9832 GB, free: 140 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.00405, allocations: 7.984 kB / 0.9832 GB, free: 132 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.004195, allocations: 57.58 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.004245, allocations: 81.05 kB / 0.9833 GB, free: 15.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.004352, allocations: 160.3 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.00436, allocations: 25.7 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.00441, allocations: 104 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.004416, allocations: 3.953 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.004441, allocations: 17.72 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.004515, allocations: 322.8 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.004527, allocations: 4.25 kB / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.004546, allocations: 25.66 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.004578, allocations: 21.72 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.00458, allocations: 4 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.937e-05/0.004639, allocations: 61.58 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.004652, allocations: 4 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.004657, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.004669, allocations: 4 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.004724, allocations: 7.938 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.004729, allocations: 4.062 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.004751, allocations: 15.86 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.004754, allocations: 0 / 0.9841 GB, free: 15.15 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.205e-05/0.004816, allocations: 113.8 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.00484, allocations: 11.91 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.004858, allocations: 11.81 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.00486, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.004866, allocations: 3.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.00487, allocations: 4 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.005144, allocations: 437.9 kB / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.005145, allocations: 0 / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.005159, allocations: 7.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.005161, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005167, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.00517, allocations: 3.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005171, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.839e-05/0.005229, allocations: 81.88 kB / 0.9847 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.005251, allocations: 15.89 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.005263, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.005273, allocations: 4.094 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.005287, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.005288, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.005346, allocations: 122.1 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005346, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001244/0.00547, 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.0002556/0.005726, allocations: 0.6163 MB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.005806, allocations: 23.92 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.005808, allocations: 4.156 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.005815, 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.00012/0.005935, allocations: 7.906 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.00083/0.006765, allocations: 1.343 MB / 0.9868 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.006809, allocations: 75.33 kB / 0.9869 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.006839, allocations: 12.61 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.006882, allocations: 28.48 kB / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.006882, allocations: 0 / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.02266, allocations: 2.233 MB / 0.9891 GB, free: 9.887 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.741, allocations: 12.89 kB / 0.9891 GB, free: 9.883 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_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_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.839724357239902]