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.001154/0.001154, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001062/0.001062, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9719/0.9719, allocations: 177.1 MB / 203.7 MB, free: 5.523 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 2.376/2.376, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.211e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001405/0.001437, allocations: 0.8171 MB / 0.8906 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.001548, allocations: 39.78 kB / 0.8906 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.001592, allocations: 0 / 0.8906 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.001625, allocations: 7.875 kB / 0.8906 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.001696, allocations: 23.8 kB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.609e-05/0.001732, allocations: 19.98 kB / 0.8906 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.001811, allocations: 59.83 kB / 0.8907 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.001912, allocations: 27.98 kB / 0.8907 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.024e-05/0.002002, allocations: 43.83 kB / 0.8908 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.002039, allocations: 19.92 kB / 0.8908 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.002054, allocations: 4 kB / 0.8908 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-06/0.002062, allocations: 4 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.002081, allocations: 11.98 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.002109, allocations: 15.92 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.82e-05/0.002187, allocations: 47.7 kB / 0.8909 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002189, allocations: 0 / 0.8909 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5e-07/0.002189, allocations: 4 kB / 0.8909 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.002192, allocations: 0 / 0.8909 GB, free: 8.617 MB / 0.8542 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.000295/0.002487, allocations: 416.2 kB / 0.8913 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.002527, allocations: 8.625 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.002555, allocations: 20.84 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.002663, allocations: 132.5 kB / 0.8914 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.002672, allocations: 8.375 kB / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.002681, allocations: 8.312 kB / 0.8914 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.634e-05/0.002768, allocations: 81.59 kB / 0.8915 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.002775, allocations: 4.172 kB / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.002783, allocations: 12.38 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.002789, allocations: 4.375 kB / 0.8915 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.665e-05/0.002815, allocations: 23.86 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.003194, allocations: 0.7186 MB / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.003277, allocations: 269.4 kB / 0.8925 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.003312, allocations: 126.9 kB / 0.8926 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.003339, allocations: 119.2 kB / 0.8927 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.003384, allocations: 156.6 kB / 0.8929 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.003385, allocations: 0 / 0.8929 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.142e-05/0.003437, allocations: 37.69 kB / 0.8929 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.003488, allocations: 174.6 kB / 0.8931 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.00359, allocations: 201.7 kB / 0.8933 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.003597, allocations: 25.7 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.003666, allocations: 178.5 kB / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.003667, allocations: 0 / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.003697, allocations: 39.3 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.003808, allocations: 496.1 kB / 0.894 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-06/0.003815, allocations: 4 kB / 0.894 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.003855, allocations: 77.47 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.301e-05/0.003918, allocations: 89.38 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00392, allocations: 0 / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.388e-05/0.004014, allocations: 89.61 kB / 0.8942 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.004026, allocations: 4 kB / 0.8943 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.004031, allocations: 4 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.004042, allocations: 0 / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.834e-05/0.00408, allocations: 15.94 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.004084, allocations: 4 kB / 0.8943 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.004107, allocations: 11.89 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.004112, allocations: 4 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8.491e-05/0.004197, allocations: 287.7 kB / 0.8946 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.004243, allocations: 156.9 kB / 0.8947 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.004289, allocations: 156.7 kB / 0.8949 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/0.004343, allocations: 264.1 kB / 0.8951 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.173e-05/0.004405, allocations: 280 kB / 0.8954 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.89e-05/0.004464, allocations: 272 kB / 0.8956 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.004619, allocations: 492.4 kB / 0.8961 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/0.00465, allocations: 148.9 kB / 0.8963 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.004684, allocations: 148.8 kB / 0.8964 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-05/0.004739, allocations: 264.1 kB / 0.8966 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.004795, allocations: 272.1 kB / 0.8969 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-05/0.004849, allocations: 268 kB / 0.8972 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.497e-05/0.004904, allocations: 272.1 kB / 0.8974 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.005036, allocations: 456.1 kB / 0.8979 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.005078, allocations: 156.8 kB / 0.898 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.00514, allocations: 272 kB / 0.8983 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.005193, allocations: 148.9 kB / 0.8984 GB, free: 428 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.005257, allocations: 272 kB / 0.8987 GB, free: 148 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.005298, allocations: 148.9 kB / 0.8988 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.005348, allocations: 142.6 kB / 0.8989 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.005348, allocations: 0 / 0.8989 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001415/0.005489, allocations: 8 kB / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.108e-05/0.00558, allocations: 218.4 kB / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6e-05/0.00564, allocations: 43.47 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.005641, allocations: 3.938 kB / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.005642, allocations: 0 / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.005916, allocations: 0.7062 MB / 0.8999 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.006126, allocations: 269.7 kB / 0.9002 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.04e-05/0.006157, allocations: 59.34 kB / 0.9002 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.006187, allocations: 13.22 kB / 0.9002 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.006218, allocations: 70.2 kB / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/0.006218, allocations: 0 / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.00156/0.007778, allocations: 344.7 kB / 0.9006 GB, free: 14.07 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2526329779066145]