Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.0009879/0.0009879, allocations: 81.95 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.001301/0.001301, allocations: 169.7 kB / 23.28 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 1.017/1.017, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.365/2.365, allocations: 438.1 MB / 0.682 GB, free: 14.14 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.667e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.00163/0.001657, allocations: 0.8257 MB / 0.8906 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001133/0.00177, allocations: 39.78 kB / 0.8906 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.001817, allocations: 4 kB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.001849, allocations: 7.875 kB / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.001926, allocations: 15.8 kB / 0.8906 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.894e-05/0.001965, allocations: 23.98 kB / 0.8906 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.564e-05/0.002051, allocations: 59.84 kB / 0.8907 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.002159, allocations: 27.97 kB / 0.8907 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.002248, allocations: 43.84 kB / 0.8908 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.002283, allocations: 11.92 kB / 0.8908 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.002298, allocations: 4 kB / 0.8908 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.002304, allocations: 4 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.002325, allocations: 23.91 kB / 0.8908 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.002348, allocations: 15.94 kB / 0.8908 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.453e-05/0.002432, allocations: 39.77 kB / 0.8909 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.002435, allocations: 4 kB / 0.8909 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002436, allocations: 4 kB / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.002439, allocations: 0 / 0.8909 GB, free: 8.609 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.0003104/0.002749, allocations: 416.2 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.002791, allocations: 12.62 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.002823, allocations: 20.84 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.002933, allocations: 132.5 kB / 0.8914 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.002942, allocations: 12.31 kB / 0.8914 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.002949, allocations: 4.375 kB / 0.8914 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.003049, allocations: 81.59 kB / 0.8915 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.003057, allocations: 4.188 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.003066, allocations: 4.375 kB / 0.8915 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.003074, allocations: 4.375 kB / 0.8915 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.272e-05/0.003107, allocations: 27.84 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.003555, allocations: 0.7147 MB / 0.8923 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.003642, allocations: 261.4 kB / 0.8925 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.003676, allocations: 126.9 kB / 0.8926 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.003709, allocations: 131.1 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.003761, allocations: 156.6 kB / 0.8929 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.003763, allocations: 4 kB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.483e-05/0.003828, allocations: 33.66 kB / 0.8929 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.003884, allocations: 170.6 kB / 0.8931 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.004007, allocations: 207.1 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.004016, allocations: 25.7 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.004095, allocations: 174.5 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.004097, allocations: 0 / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.004133, allocations: 35.31 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.004259, allocations: 496.1 kB / 0.894 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.004269, allocations: 7.984 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.004313, allocations: 77.42 kB / 0.8941 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.004373, allocations: 85.44 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.004376, allocations: 3.984 kB / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001174/0.004494, allocations: 81.5 kB / 0.8942 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.004509, allocations: 4 kB / 0.8943 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.004516, allocations: 4 kB / 0.8943 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.004531, allocations: 4 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.004587, allocations: 15.94 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.004591, allocations: 4 kB / 0.8943 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.004617, allocations: 15.88 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.004621, allocations: 4 kB / 0.8943 GB, free: 4.812 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 0.0001053/0.004726, allocations: 280 kB / 0.8946 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.004784, allocations: 164.8 kB / 0.8947 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.005095, allocations: 148.7 kB / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-05/0.005157, allocations: 276 kB / 0.8951 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.956e-05/0.005217, allocations: 268.1 kB / 0.8954 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.989e-05/0.005277, allocations: 268 kB / 0.8956 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.005466, allocations: 0.4926 MB / 0.8961 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/0.005501, allocations: 144.9 kB / 0.8963 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.005537, allocations: 148.8 kB / 0.8964 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-05/0.005601, allocations: 276 kB / 0.8967 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.005664, allocations: 268.1 kB / 0.8969 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.955e-05/0.005724, allocations: 272 kB / 0.8972 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.743e-05/0.005781, allocations: 268.1 kB / 0.8974 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.005921, allocations: 464 kB / 0.8979 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.005973, allocations: 152.8 kB / 0.898 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.006043, allocations: 272 kB / 0.8983 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.826e-05/0.006101, allocations: 144.9 kB / 0.8984 GB, free: 420 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.006165, allocations: 268 kB / 0.8987 GB, free: 144 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.00621, allocations: 152.9 kB / 0.8988 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.006264, allocations: 145.2 kB / 0.899 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.006264, allocations: 0 / 0.899 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001626/0.006426, allocations: 8 kB / 0.899 GB, free: 15.84 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.0001235/0.00655, allocations: 214.4 kB / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.106e-05/0.006631, allocations: 35.48 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.006633, allocations: 0 / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.006634, allocations: 0 / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.006938, allocations: 0.7062 MB / 0.8999 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.007254, allocations: 273.7 kB / 0.9002 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.007295, allocations: 59.84 kB / 0.9002 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.007338, allocations: 12.72 kB / 0.9002 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.007389, allocations: 74.2 kB / 0.9003 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.824e-06/0.007391, allocations: 0 / 0.9003 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.001998/0.009389, allocations: 340.6 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_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.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.282575569115579]