Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001044/0.001044, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001598/0.001598, allocations: 173 kB / 23.49 MB, free: 1.059 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.184/2.184, allocations: 429.5 MB / 0.6736 GB, free: 4.062 MB / 0.6355 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.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.572e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001202/0.001218, allocations: 0.7826 MB / 0.879 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.002164, allocations: 0.9071 MB / 0.8798 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.002209, allocations: 0.875 kB / 0.8799 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.00224, allocations: 5.062 kB / 0.8799 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.002322, allocations: 19.8 kB / 0.8799 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.002482, allocations: 42.08 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.002605, allocations: 83.77 kB / 0.88 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.002726, allocations: 27.84 kB / 0.88 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.002821, allocations: 51.89 kB / 0.8801 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.002883, allocations: 39.94 kB / 0.8801 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.002907, allocations: 10.34 kB / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.002919, allocations: 8 kB / 0.8801 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.002941, allocations: 19.91 kB / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.002983, allocations: 27.92 kB / 0.8802 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.003085, allocations: 63.72 kB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003088, allocations: 4 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003089, allocations: 0 / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003092, allocations: 0.7188 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004036/0.003496, allocations: 410 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.003529, allocations: 8.031 kB / 0.8806 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.003572, allocations: 16.89 kB / 0.8807 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.003662, allocations: 120.5 kB / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.003682, allocations: 4.875 kB / 0.8808 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.003695, allocations: 8.375 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.003858, allocations: 100.2 kB / 0.8809 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.003865, allocations: 7.875 kB / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.003877, allocations: 1.594 kB / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.003883, allocations: 0 / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.003962, allocations: 35.34 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.004363, allocations: 319.5 kB / 0.8812 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.004641, allocations: 75.16 kB / 0.8813 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.004685, allocations: 27.67 kB / 0.8813 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.004702, allocations: 0 / 0.8813 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.00472, allocations: 37.39 kB / 0.8814 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.004721, allocations: 3.938 kB / 0.8814 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002047/0.004926, allocations: 85.84 kB / 0.8814 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.004954, allocations: 59.39 kB / 0.8815 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.005034, allocations: 181.9 kB / 0.8817 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.005045, allocations: 29.7 kB / 0.8817 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.005096, allocations: 142.8 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.005119, allocations: 19.8 kB / 0.8819 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.005155, allocations: 31.36 kB / 0.8819 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.005269, allocations: 0.4961 MB / 0.8824 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.005299, allocations: 4 kB / 0.8824 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.005327, allocations: 16.05 kB / 0.8824 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.736e-05/0.005395, allocations: 51.59 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.005396, allocations: 0 / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001012/0.005497, allocations: 65.69 kB / 0.8825 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.00551, allocations: 5.875 kB / 0.8825 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.005515, allocations: 4 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.005527, allocations: 0 / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.005601, allocations: 19.97 kB / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.005606, allocations: 0 / 0.8825 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.005642, allocations: 11.89 kB / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.005651, allocations: 11.98 kB / 0.8826 GB, free: 2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.611e-05/0.005717, allocations: 164.5 kB / 0.8827 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.005737, allocations: 11.95 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.005877, allocations: 78.09 kB / 0.8828 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005879, allocations: 0 / 0.8828 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.005881, allocations: 0 / 0.8828 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.005886, allocations: 7.984 kB / 0.8828 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.006, allocations: 144.5 kB / 0.8829 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006001, allocations: 0 / 0.8829 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.006056, allocations: 27.97 kB / 0.883 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006058, allocations: 4 kB / 0.883 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.006066, allocations: 0 / 0.883 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006067, allocations: 3.938 kB / 0.883 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006068, allocations: 0 / 0.883 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.006202, allocations: 227.8 kB / 0.8832 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.006211, allocations: 7.953 kB / 0.8832 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.006225, allocations: 7.984 kB / 0.8832 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.006273, allocations: 4 kB / 0.8832 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.006331, allocations: 23.97 kB / 0.8832 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.006337, allocations: 4 kB / 0.8832 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.006382, allocations: 135.2 kB / 0.8834 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006382, allocations: 0 / 0.8834 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001458/0.006528, allocations: 16 kB / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 7.73e-05/0.006606, allocations: 103.2 kB / 0.8835 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.006735, allocations: 43.66 kB / 0.8835 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006736, allocations: 0 / 0.8835 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.006797, allocations: 44.2 kB / 0.8836 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.006986, allocations: 19.88 kB / 0.8836 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.007282, allocations: 166.8 kB / 0.8837 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.007318, allocations: 59.34 kB / 0.8838 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.007356, allocations: 12 kB / 0.8838 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.007406, allocations: 24.48 kB / 0.8838 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of SimCode: time 6.82e-07/0.007407, allocations: 3.938 kB / 0.8838 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of Templates: time 0.003102/0.01051, allocations: 1.725 MB / 0.8855 GB, free: 14.84 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.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.6972774339374155]