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.001094/0.001094, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00169/0.00169, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9649/0.9649, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.6743 GB, free: 3.875 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 1.733e-06/1.733e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.957e-05, allocations: 5.266 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001845/0.001865, allocations: 1.016 MB / 0.8804 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.003289, allocations: 1.51 MB / 0.8819 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.003365, allocations: 3.938 kB / 0.8819 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.003483, allocations: 31.66 kB / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.003552, allocations: 43.59 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.004228, allocations: 460.1 kB / 0.8824 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.004588, allocations: 0.5158 MB / 0.8829 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.004766, allocations: 85.06 kB / 0.883 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.005043, allocations: 311.5 kB / 0.8833 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.005208, allocations: 139.1 kB / 0.8834 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.005255, allocations: 43.98 kB / 0.8834 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.005336, allocations: 55.98 kB / 0.8835 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.005393, allocations: 55.77 kB / 0.8835 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.005496, allocations: 131.8 kB / 0.8837 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.005781, allocations: 350.9 kB / 0.884 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005783, allocations: 4.594 kB / 0.884 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005783, allocations: 1.281 kB / 0.884 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005787, allocations: 0 / 0.884 GB, free: 1.305 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005552/0.006343, allocations: 0.7186 MB / 0.8847 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.006373, allocations: 8.031 kB / 0.8847 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.817e-05/0.006452, allocations: 60.73 kB / 0.8848 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.006686, allocations: 240 kB / 0.885 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.006711, allocations: 28.69 kB / 0.885 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.006752, allocations: 36.38 kB / 0.8851 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.00697, allocations: 290.3 kB / 0.8854 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.006979, allocations: 192 / 0.8854 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.006993, allocations: 4.375 kB / 0.8854 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.007, allocations: 12.36 kB / 0.8854 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.007073, allocations: 71.38 kB / 0.8854 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.007705, allocations: 0.613 MB / 0.886 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.007822, allocations: 108.3 kB / 0.8861 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.00788, allocations: 71.58 kB / 0.8862 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.007889, allocations: 4 kB / 0.8862 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.008079, allocations: 302 kB / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.00808, allocations: 0 / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.000579/0.008659, allocations: 283.2 kB / 0.8868 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.008705, allocations: 106.8 kB / 0.8869 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.008874, allocations: 327.9 kB / 0.8872 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.008912, allocations: 41.7 kB / 0.8872 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.00901, allocations: 215.4 kB / 0.8874 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.009045, allocations: 67.52 kB / 0.8875 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.009177, allocations: 143.2 kB / 0.8876 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.009292, allocations: 0.5156 MB / 0.8881 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.009456, allocations: 235.2 kB / 0.8884 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.009696, allocations: 456.1 kB / 0.8888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.009984, allocations: 443.4 kB / 0.8892 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009986, allocations: 0 / 0.8892 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005555/0.01054, allocations: 0.7197 MB / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.0106, allocations: 126.8 kB / 0.89 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.0106, allocations: 7.984 kB / 0.89 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.01061, allocations: 4 kB / 0.89 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.01067, allocations: 27.92 kB / 0.8901 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.01067, allocations: 4.406 kB / 0.8901 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.01094, allocations: 115.5 kB / 0.8902 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.011, allocations: 59.92 kB / 0.8902 GB, free: 10.32 MB / 0.8542 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,extIndBoo.u[1],extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4],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],extIndBoo.u[4],con1.y,con.y,conInt.y) * 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.0001261/0.01112, allocations: 208.5 kB / 0.8904 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.01116, allocations: 43.75 kB / 0.8905 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.01141, allocations: 252.4 kB / 0.8907 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01141, allocations: 4 kB / 0.8907 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01141, allocations: 0 / 0.8907 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01142, allocations: 3.984 kB / 0.8907 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.01182, allocations: 0.5535 MB / 0.8913 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01182, allocations: 0 / 0.8913 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.01187, allocations: 23.92 kB / 0.8913 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01187, allocations: 0 / 0.8913 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.01188, allocations: 8 kB / 0.8913 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01188, allocations: 3.938 kB / 0.8913 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01188, allocations: 0 / 0.8913 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.0121, allocations: 389.9 kB / 0.8917 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.01212, allocations: 31.8 kB / 0.8917 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.01214, allocations: 15.88 kB / 0.8917 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.01221, allocations: 15.98 kB / 0.8917 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.01224, allocations: 27.95 kB / 0.8918 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.01225, allocations: 4 kB / 0.8918 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.214e-05/0.01233, allocations: 201.1 kB / 0.892 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01233, allocations: 0 / 0.892 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002433/0.01257, allocations: 87.95 kB / 0.892 GB, free: 8.406 MB / 0.8542 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.0001154/0.01269, allocations: 125.2 kB / 0.8922 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.0131, allocations: 0.6179 MB / 0.8928 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0131, allocations: 0 / 0.8928 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.01318, allocations: 99.48 kB / 0.8929 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.01345, allocations: 69.14 kB / 0.8929 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.0139, allocations: 464.3 kB / 0.8934 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.01422, allocations: 85.64 kB / 0.8935 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.84e-05/0.01429, allocations: 42.95 kB / 0.8935 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.01451, allocations: 186.1 kB / 0.8937 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.01451, allocations: 0 / 0.8937 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of Templates: time 0.006821/0.02133, allocations: 5.851 MB / 0.8994 GB, free: 0.8711 MB / 0.8542 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.571943716146052]