Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.0009709/0.0009709, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001816/0.001816, allocations: 169 kB / 23.27 MB, free: 1.223 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.9529/0.9529, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.404/2.404, allocations: 438.1 MB / 0.682 GB, free: 14.1 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.946e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00208/0.00211, allocations: 0.8101 MB / 0.8906 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.002253, allocations: 43.78 kB / 0.8906 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.002312, allocations: 4 kB / 0.8906 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.002348, allocations: 11.86 kB / 0.8906 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.456e-05/0.002432, allocations: 11.81 kB / 0.8906 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.991e-05/0.002482, allocations: 19.98 kB / 0.8906 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.00259, allocations: 55.84 kB / 0.8907 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.00271, allocations: 35.95 kB / 0.8907 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.002837, allocations: 43.84 kB / 0.8908 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.002881, allocations: 15.91 kB / 0.8908 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.002898, allocations: 4 kB / 0.8908 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.002908, allocations: 8 kB / 0.8908 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.002931, allocations: 15.94 kB / 0.8908 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.002962, allocations: 19.97 kB / 0.8908 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.00307, allocations: 43.7 kB / 0.8909 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.003075, allocations: 0 / 0.8909 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.823e-06/0.003077, allocations: 0 / 0.8909 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.003081, allocations: 0 / 0.8909 GB, free: 8.535 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.0004088/0.00349, allocations: 412.2 kB / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.003537, allocations: 12.62 kB / 0.8913 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.003577, allocations: 20.84 kB / 0.8913 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.003715, allocations: 136.5 kB / 0.8914 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.003726, allocations: 8.312 kB / 0.8914 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.003738, allocations: 8.375 kB / 0.8914 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.003869, allocations: 85.58 kB / 0.8915 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.003884, allocations: 4.188 kB / 0.8915 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.003897, allocations: 4.375 kB / 0.8915 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.003907, allocations: 384 / 0.8915 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.003952, allocations: 27.86 kB / 0.8916 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.004474, allocations: 0.7147 MB / 0.8923 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.242e-05/0.004566, allocations: 265.4 kB / 0.8925 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.004606, allocations: 134.9 kB / 0.8926 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.004638, allocations: 119.2 kB / 0.8928 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.004694, allocations: 164.6 kB / 0.8929 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/0.004695, allocations: 0 / 0.8929 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.764e-05/0.004763, allocations: 33.66 kB / 0.8929 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.004813, allocations: 170.6 kB / 0.8931 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.004919, allocations: 203.1 kB / 0.8933 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.004927, allocations: 25.7 kB / 0.8933 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.004998, allocations: 182.5 kB / 0.8935 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.005, allocations: 0 / 0.8935 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.00503, allocations: 35.33 kB / 0.8935 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.005144, allocations: 0.4884 MB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-06/0.005153, allocations: 4 kB / 0.894 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.005193, allocations: 77.42 kB / 0.8941 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.005253, allocations: 89.42 kB / 0.8942 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005255, allocations: 0 / 0.8942 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001136/0.005369, allocations: 77.5 kB / 0.8942 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.005384, allocations: 5.875 kB / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.00539, allocations: 4 kB / 0.8943 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.005402, allocations: 0 / 0.8943 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.005452, allocations: 23.92 kB / 0.8943 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.005455, allocations: 4.25 kB / 0.8943 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.00548, allocations: 15.89 kB / 0.8943 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.005484, allocations: 4 kB / 0.8943 GB, free: 4.73 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.745e-05/0.005572, allocations: 279.7 kB / 0.8946 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.005621, allocations: 160.8 kB / 0.8947 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.005673, allocations: 156.7 kB / 0.8949 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.729e-05/0.00573, allocations: 268 kB / 0.8951 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-05/0.005792, allocations: 272.1 kB / 0.8954 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.039e-05/0.005862, allocations: 268 kB / 0.8956 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.006033, allocations: 0.4887 MB / 0.8961 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.006067, allocations: 144.9 kB / 0.8963 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.006105, allocations: 156.8 kB / 0.8964 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.274e-05/0.006168, allocations: 264.1 kB / 0.8967 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.006226, allocations: 268.1 kB / 0.8969 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.079e-05/0.006286, allocations: 268 kB / 0.8972 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.326e-05/0.00634, allocations: 264.1 kB / 0.8974 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.00647, allocations: 464.1 kB / 0.8979 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.006521, allocations: 152.8 kB / 0.898 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.006608, allocations: 272 kB / 0.8983 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.965e-05/0.006667, allocations: 152.9 kB / 0.8984 GB, free: 344 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.00673, allocations: 268 kB / 0.8987 GB, free: 68 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.006781, allocations: 156.8 kB / 0.8988 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.006839, allocations: 144.9 kB / 0.899 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.006839, allocations: 0 / 0.899 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001565/0.006996, allocations: 4 kB / 0.899 GB, free: 15.76 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 0.0001337/0.007129, allocations: 218.4 kB / 0.8992 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.007208, allocations: 35.48 kB / 0.8992 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.00721, allocations: 0 / 0.8992 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-06/0.007214, allocations: 4.5 kB / 0.8992 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.007535, allocations: 0.7101 MB / 0.8999 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.007788, allocations: 273.7 kB / 0.9002 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.00782, allocations: 59.34 kB / 0.9002 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.007852, allocations: 4.734 kB / 0.9002 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.007886, allocations: 70.2 kB / 0.9003 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of SimCode: time 7.62e-07/0.007887, allocations: 8 kB / 0.9003 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.001806/0.009693, allocations: 336.6 kB / 0.9006 GB, free: 13.99 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.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.279767496977001]