Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.000873/0.000873, 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.0009986/0.0009986, 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.9197/0.9197, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.756/1.756, allocations: 377.8 MB / 0.6221 GB, free: 8.676 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_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.223e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001601/0.001623, allocations: 0.8013 MB / 0.9818 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001232/0.001746, allocations: 43.78 kB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.001797, allocations: 4 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.00184, allocations: 7.875 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.664e-05/0.001926, allocations: 11.86 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.463e-05/0.001971, allocations: 15.98 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.002081, allocations: 63.84 kB / 0.9819 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.002225, allocations: 23.97 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.301e-05/0.002318, allocations: 43.91 kB / 0.982 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.002368, allocations: 23.84 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.002395, allocations: 4 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.002404, allocations: 8 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.002422, allocations: 15.92 kB / 0.982 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.002454, allocations: 19.92 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.002596, allocations: 75.64 kB / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0026, allocations: 3.984 kB / 0.9821 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.823e-06/0.002602, allocations: 0 / 0.9821 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.002607, allocations: 0 / 0.9821 GB, free: 1.426 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.0004579/0.003065, allocations: 302 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.003113, allocations: 8.031 kB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.003156, allocations: 46.73 kB / 0.9824 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.003186, allocations: 12.84 kB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.003356, allocations: 133.6 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.003365, allocations: 384 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.003377, allocations: 12.38 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.003504, allocations: 87.95 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.003511, allocations: 192 / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.003522, allocations: 4.375 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.003529, allocations: 12.06 kB / 0.9827 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.068e-05/0.00359, allocations: 39.92 kB / 0.9827 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.004029, allocations: 391.8 kB / 0.9831 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.004083, allocations: 41.34 kB / 0.9832 GB, free: 220 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.004115, allocations: 17.78 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.004123, allocations: 0 / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.004144, allocations: 34.56 kB / 0.9832 GB, free: 152 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004145, allocations: 0 / 0.9832 GB, free: 152 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.004293, allocations: 57.58 kB / 0.9833 GB, free: 88 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.004349, allocations: 88.92 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.004465, allocations: 160.8 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.004474, allocations: 25.7 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.004529, allocations: 108 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.004537, allocations: 7.891 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.004565, allocations: 17.72 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.004646, allocations: 318.8 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.00466, allocations: 4 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.004686, allocations: 21.97 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.004724, allocations: 33.7 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.004726, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.527e-05/0.004791, allocations: 57.59 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.004806, allocations: 8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.004812, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.004824, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.004883, allocations: 11.94 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.004889, allocations: 3.984 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.004906, allocations: 4.062 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.004911, allocations: 4 kB / 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 6.328e-05/0.004974, allocations: 117.8 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.004998, allocations: 11.91 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.005016, allocations: 7.812 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.005019, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.005024, allocations: 3.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.005029, allocations: 3.984 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.005302, allocations: 429.9 kB / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005304, allocations: 4.062 kB / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.005317, allocations: 7.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.005319, allocations: 96 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.005326, allocations: 3.984 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.005328, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005329, allocations: 3.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.09e-05/0.00539, allocations: 73.94 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.005412, allocations: 15.89 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.005424, allocations: 3.938 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.005434, allocations: 7.938 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.005446, allocations: 4.031 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.005449, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.005513, allocations: 121.1 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005513, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001403/0.005653, allocations: 15.94 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.000327/0.00598, allocations: 0.6093 MB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.006086, allocations: 23.92 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.00609, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.006097, allocations: 8.156 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.0001663/0.006263, allocations: 16.77 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.001032/0.007295, allocations: 1.336 MB / 0.9868 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.868e-05/0.007343, allocations: 75.33 kB / 0.9869 GB, free: 12.03 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.007373, allocations: 8.484 kB / 0.9869 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.007416, allocations: 32.61 kB / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/0.007417, allocations: 0 / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.02466, allocations: 2.23 MB / 0.9891 GB, free: 9.898 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/6.671, allocations: 8 kB / 0.9891 GB, free: 9.891 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.879614351317286]