Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008305/0.0008305, 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.001112/0.001112, allocations: 165.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.9065/0.9065, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.729e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001184/0.001202, allocations: 0.7829 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.613e-05/0.001298, allocations: 43.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.00134, allocations: 7.938 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.001374, allocations: 11.86 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.001439, allocations: 7.938 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-05/0.001473, allocations: 15.98 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.001563, allocations: 63.78 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.001683, allocations: 27.97 kB / 1.001 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.001748, allocations: 35.91 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.001799, allocations: 23.89 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.001821, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-06/0.001828, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.001848, allocations: 11.94 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.001875, allocations: 27.91 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.00199, allocations: 71.69 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.001991, allocations: 0 / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.001992, allocations: 4 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.001997, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 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.0003286/0.002325, allocations: 302 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.002369, allocations: 12.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.002404, allocations: 38.73 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.002426, allocations: 16.83 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.002572, allocations: 133.7 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.002581, allocations: 4.375 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.002593, allocations: 12.36 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.002716, allocations: 95.8 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.002723, allocations: 192 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.002734, allocations: 4.375 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.002742, allocations: 8.125 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.062e-05/0.002803, allocations: 39.92 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.003189, allocations: 387.8 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.897e-05/0.003238, allocations: 45.19 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.003267, allocations: 17.84 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.003274, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.003292, allocations: 34.56 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.003292, allocations: 0 / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001385/0.003431, allocations: 57.58 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.003463, allocations: 81.05 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.003562, allocations: 160.1 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-06/0.00357, allocations: 25.95 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.003618, allocations: 112 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.003624, allocations: 11.89 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.003647, allocations: 13.72 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.003717, allocations: 322.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.003729, allocations: 4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.003744, allocations: 17.72 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.003776, allocations: 33.64 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003778, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.805e-05/0.003836, allocations: 65.59 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.003847, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.003852, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.003862, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.003909, allocations: 11.92 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.003913, allocations: 3.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.003931, allocations: 11.89 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.003934, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 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.132e-05/0.003986, allocations: 113.8 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.004006, allocations: 7.953 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.004024, allocations: 15.88 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.004025, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.004031, allocations: 7.922 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004033, allocations: 4 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.004261, allocations: 429.9 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.004262, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-06/0.004271, allocations: 7.938 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.004272, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004278, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004279, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.004281, allocations: 8 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.761e-05/0.004329, allocations: 78.72 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.004349, allocations: 19.84 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.004359, allocations: 0 / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.004368, allocations: 0 / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.00438, allocations: 7.984 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.004381, allocations: 0 / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.599e-05/0.004437, allocations: 117.5 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.004437, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001236/0.004561, allocations: 8 kB / 1.004 GB, free: 9.168 MB / 0.9636 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.0002099/0.004771, allocations: 0.6171 MB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.583e-05/0.004837, allocations: 19.92 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.004839, allocations: 4 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.004844, allocations: 4 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.004955, allocations: 11.88 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/0.005848, allocations: 1.351 MB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.005893, allocations: 83.25 kB / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.005917, allocations: 8.484 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.00596, allocations: 28.48 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of SimCode: time 8.21e-07/0.005961, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.02065, allocations: 2.233 MB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.933/6.954, allocations: 13.95 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.125167868100107]