Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001176/0.001176, 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.001323/0.001323, 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.068/2.068, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.[0-9,]+.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.[0-9,]+.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.238e-06/4.238e-06, allocations: 4 kB / 0.8782 GB, free: 5.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.682e-05, allocations: 3.781 kB / 0.8782 GB, free: 5.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002583/0.002619, allocations: 1.02 MB / 0.8792 GB, free: 4.5 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.006088, allocations: 1.516 MB / 0.8807 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.006268, allocations: 7.938 kB / 0.8807 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.006435, allocations: 19.73 kB / 0.8807 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.006574, allocations: 60.22 kB / 0.8808 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.007833, allocations: 456.3 kB / 0.8812 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.008548, allocations: 0.5083 MB / 0.8817 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.008854, allocations: 88.09 kB / 0.8818 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.009292, allocations: 292.2 kB / 0.8821 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.009596, allocations: 151.6 kB / 0.8822 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-05/0.009683, allocations: 49.59 kB / 0.8822 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.009819, allocations: 59.98 kB / 0.8823 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.009912, allocations: 71.75 kB / 0.8824 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.01011, allocations: 151.7 kB / 0.8825 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.01068, allocations: 392.3 kB / 0.8829 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.01069, allocations: 0 / 0.8829 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01069, allocations: 0 / 0.8829 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.0107, allocations: 0 / 0.8829 GB, free: 0.707 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009769/0.01168, allocations: 0.728 MB / 0.8836 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.01172, allocations: 8.031 kB / 0.8836 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.01188, allocations: 56.75 kB / 0.8837 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000768/0.01265, allocations: 288.5 kB / 0.8839 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.0127, allocations: 24.73 kB / 0.884 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.01277, allocations: 37.03 kB / 0.884 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.01319, allocations: 338 kB / 0.8843 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.0132, allocations: 1.531 kB / 0.8843 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.01323, allocations: 8.375 kB / 0.8843 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.01324, allocations: 8.125 kB / 0.8843 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.01343, allocations: 99.31 kB / 0.8844 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.01464, allocations: 0.671 MB / 0.8851 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.01489, allocations: 143 kB / 0.8852 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.01503, allocations: 95.52 kB / 0.8853 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.01505, allocations: 4.344 kB / 0.8853 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.01541, allocations: 338.6 kB / 0.8856 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=28): time 2.785e-06/0.01541, allocations: 4 kB / 0.8856 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.0006385/0.01605, allocations: 364.8 kB / 0.886 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.01612, allocations: 114.8 kB / 0.8861 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.01642, allocations: 324 kB / 0.8864 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.01649, allocations: 41.7 kB / 0.8864 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.01664, allocations: 203.6 kB / 0.8866 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.0167, allocations: 67.52 kB / 0.8867 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.01692, allocations: 147.3 kB / 0.8868 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.01709, allocations: 0.504 MB / 0.8873 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.01748, allocations: 287.6 kB / 0.8876 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.01794, allocations: 0.492 MB / 0.8881 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.01851, allocations: 0.4994 MB / 0.8886 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.01852, allocations: 0 / 0.8886 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001108/0.01963, allocations: 0.8094 MB / 0.8894 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.473e-05/0.01971, allocations: 127.2 kB / 0.8895 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.01972, allocations: 8 kB / 0.8895 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.01974, allocations: 8 kB / 0.8895 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.01982, allocations: 23.92 kB / 0.8895 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.01984, allocations: 4 kB / 0.8895 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.02027, allocations: 95.7 kB / 0.8896 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.02038, allocations: 67.86 kB / 0.8897 GB, free: 9.141 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001984/0.02058, allocations: 216.4 kB / 0.8899 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.02063, allocations: 43.75 kB / 0.8899 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/0.02111, allocations: 304.4 kB / 0.8902 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.02111, allocations: 8 kB / 0.8902 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.02112, allocations: 0 / 0.8902 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.02113, allocations: 0 / 0.8902 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/0.02193, allocations: 0.6506 MB / 0.8909 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02193, allocations: 0 / 0.8909 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.02199, allocations: 19.92 kB / 0.8909 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.02199, allocations: 0 / 0.8909 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.02201, allocations: 8 kB / 0.8909 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.02201, allocations: 0 / 0.8909 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.02201, allocations: 11.98 kB / 0.8909 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.02247, allocations: 437.9 kB / 0.8913 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.02251, allocations: 31.8 kB / 0.8914 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.02255, allocations: 15.94 kB / 0.8914 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.02266, allocations: 8 kB / 0.8914 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.02272, allocations: 23.95 kB / 0.8914 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.02274, allocations: 8 kB / 0.8914 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001569/0.02289, allocations: 209.1 kB / 0.8916 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.9e-07/0.02289, allocations: 0 / 0.8916 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004448/0.02334, allocations: 87.88 kB / 0.8917 GB, free: 7.012 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002094/0.02355, allocations: 125.2 kB / 0.8918 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007811/0.02433, allocations: 0.6842 MB / 0.8925 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02433, allocations: 0 / 0.8925 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.02445, allocations: 124.3 kB / 0.8926 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.02478, allocations: 72.33 kB / 0.8927 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.02543, allocations: 488.4 kB / 0.8931 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.163e-05/0.02549, allocations: 89.62 kB / 0.8932 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.0256, allocations: 66.91 kB / 0.8933 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.02565, allocations: 32.5 kB / 0.8933 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of SimCode: time 1.383e-06/0.02565, allocations: 0 / 0.8933 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of Templates: time 0.007839/0.03349, allocations: 5.365 MB / 0.8986 GB, free: 15.96 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.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.521868670824915]