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.001846/0.001846, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.00119/0.00119, allocations: 170 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 1.035/1.035, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.457/2.457, allocations: 438.1 MB / 0.682 GB, free: 14.2 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.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 3.045e-06/3.045e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.989e-05, allocations: 13.28 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001756/0.001786, allocations: 0.9993 MB / 0.8907 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.003679, allocations: 1.509 MB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.0038, allocations: 4 kB / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.003933, allocations: 23.67 kB / 0.8922 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.062e-05/0.004023, allocations: 59.52 kB / 0.8923 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009093/0.004933, allocations: 458.9 kB / 0.8927 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.005399, allocations: 0.5114 MB / 0.8932 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.005631, allocations: 88.14 kB / 0.8933 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.005955, allocations: 311.5 kB / 0.8936 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.006164, allocations: 143.6 kB / 0.8937 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.006225, allocations: 40 kB / 0.8938 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.006341, allocations: 51.98 kB / 0.8938 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.006413, allocations: 59.77 kB / 0.8939 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.006526, allocations: 131.8 kB / 0.894 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.006889, allocations: 354.8 kB / 0.8944 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.006897, allocations: 4 kB / 0.8944 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006898, allocations: 0 / 0.8944 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.006906, allocations: 4 kB / 0.8944 GB, free: 5.02 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006399/0.007546, allocations: 0.721 MB / 0.8951 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.007598, allocations: 8.625 kB / 0.8951 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.00768, allocations: 60.78 kB / 0.8951 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.007943, allocations: 244 kB / 0.8954 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.007971, allocations: 20.75 kB / 0.8954 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.008012, allocations: 36.38 kB / 0.8954 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.008234, allocations: 298.2 kB / 0.8957 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.008242, allocations: 192 / 0.8957 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.008256, allocations: 8.375 kB / 0.8957 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.008262, allocations: 4.375 kB / 0.8957 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.008333, allocations: 75.38 kB / 0.8958 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.009005, allocations: 0.6091 MB / 0.8964 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.009126, allocations: 102.9 kB / 0.8965 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.009186, allocations: 67.64 kB / 0.8965 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.009194, allocations: 4 kB / 0.8965 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.009413, allocations: 314.4 kB / 0.8968 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.009415, allocations: 0 / 0.8968 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.0003149/0.00973, allocations: 277.1 kB / 0.8971 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.009775, allocations: 110.8 kB / 0.8972 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.009947, allocations: 327.9 kB / 0.8975 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.00998, allocations: 37.7 kB / 0.8976 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.01023, allocations: 215.4 kB / 0.8978 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.01026, allocations: 67.52 kB / 0.8978 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.01039, allocations: 143.2 kB / 0.898 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.01051, allocations: 0.5195 MB / 0.8985 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.01067, allocations: 235.2 kB / 0.8987 GB, free: 248 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.01092, allocations: 452.2 kB / 0.8991 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.0112, allocations: 443.4 kB / 0.8996 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0112, allocations: 0 / 0.8996 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005579/0.01176, allocations: 0.7123 MB / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.01183, allocations: 126.8 kB / 0.9004 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01183, allocations: 4 kB / 0.9004 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01185, allocations: 11.92 kB / 0.9004 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.01191, allocations: 27.92 kB / 0.9004 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01192, allocations: 4 kB / 0.9004 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.01219, allocations: 111.7 kB / 0.9005 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.01226, allocations: 63.86 kB / 0.9006 GB, free: 14.04 MB / 0.8698 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.0001348/0.0124, allocations: 200.5 kB / 0.9008 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.01243, allocations: 47.73 kB / 0.9008 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.0127, allocations: 256.7 kB / 0.9011 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01271, allocations: 4 kB / 0.9011 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01271, allocations: 0 / 0.9011 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01271, allocations: 3.984 kB / 0.9011 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.01315, allocations: 0.5527 MB / 0.9016 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01315, allocations: 0 / 0.9016 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.01319, allocations: 23.92 kB / 0.9016 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.0132, allocations: 0 / 0.9016 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01321, allocations: 16 kB / 0.9017 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01321, allocations: 0 / 0.9017 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01321, allocations: 0 / 0.9017 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.01345, allocations: 397 kB / 0.902 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.01347, allocations: 27.8 kB / 0.9021 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.0135, allocations: 11.94 kB / 0.9021 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.01356, allocations: 11.94 kB / 0.9021 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.0136, allocations: 23.95 kB / 0.9021 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.01361, allocations: 8 kB / 0.9021 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.269e-05/0.01369, allocations: 197.1 kB / 0.9023 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01369, allocations: 0 / 0.9023 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002632/0.01395, allocations: 91.95 kB / 0.9024 GB, free: 12.13 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: 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.0001611/0.01411, allocations: 125.2 kB / 0.9025 GB, free: 12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.01455, allocations: 0.6185 MB / 0.9031 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01455, allocations: 192 / 0.9031 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.01463, allocations: 103.5 kB / 0.9032 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01492, allocations: 60.39 kB / 0.9033 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.01544, allocations: 468.3 kB / 0.9037 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.143e-05/0.01549, allocations: 89.64 kB / 0.9038 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.996e-05/0.01557, allocations: 42.94 kB / 0.9038 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.0158, allocations: 186.1 kB / 0.904 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of SimCode: time 6.91e-07/0.0158, allocations: 0 / 0.904 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.00771/0.02351, allocations: 5.732 MB / 0.9096 GB, free: 4.719 MB / 0.8698 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.572321203071624]