Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0009917/0.0009917, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009888/0.0009888, allocations: 169 kB / 23.02 MB, free: 1.547 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.243/2.243, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.724e-05, allocations: 6.906 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001176/0.001193, allocations: 0.7166 MB / 0.8789 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002399, allocations: 1.302 MB / 0.8802 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.002437, allocations: 3.938 kB / 0.8802 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.353e-05/0.00251, allocations: 17.39 kB / 0.8802 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.00255, allocations: 16.84 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.002998, allocations: 237.7 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.003202, allocations: 247.6 kB / 0.8807 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.003292, allocations: 20.55 kB / 0.8807 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.003416, allocations: 139.8 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.003517, allocations: 72.56 kB / 0.8809 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.003547, allocations: 20 kB / 0.8809 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.003613, allocations: 37.33 kB / 0.8809 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.003661, allocations: 31.91 kB / 0.881 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.003734, allocations: 75.81 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.003928, allocations: 192.4 kB / 0.8812 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.00393, allocations: 0 / 0.8812 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.71e-07/0.00393, allocations: 3.938 kB / 0.8812 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.003933, allocations: 1.094 kB / 0.8812 GB, free: 3.242 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003844/0.004317, allocations: 0.5267 MB / 0.8817 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.004346, allocations: 8.031 kB / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.004563, allocations: 73.86 kB / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.004855, allocations: 187.3 kB / 0.882 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.00487, allocations: 12.38 kB / 0.882 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.004895, allocations: 20.36 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.005012, allocations: 121.7 kB / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.00502, allocations: 192 / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.00503, allocations: 9.969 kB / 0.8821 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005037, allocations: 8.125 kB / 0.8822 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.005074, allocations: 31.92 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.005501, allocations: 0.7658 MB / 0.8829 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.005545, allocations: 58.56 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.005561, allocations: 21.12 kB / 0.883 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-06/0.005564, allocations: 0 / 0.883 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.709e-05/0.005651, allocations: 101.5 kB / 0.8831 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 6.32e-07/0.005652, allocations: 0 / 0.8831 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001755/0.005827, allocations: 109.5 kB / 0.8832 GB, free: 1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.005859, allocations: 78.2 kB / 0.8833 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.005974, allocations: 227.5 kB / 0.8835 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.005996, allocations: 29.7 kB / 0.8835 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.006071, allocations: 171.4 kB / 0.8837 GB, free: 472 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.006083, allocations: 19.86 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.006151, allocations: 64.94 kB / 0.8838 GB, free: 380 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.006274, allocations: 0.4962 MB / 0.8843 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.006369, allocations: 115.4 kB / 0.8844 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.006503, allocations: 255.6 kB / 0.8846 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.006634, allocations: 187.8 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.006636, allocations: 3.938 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002943/0.00693, allocations: 330.1 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.006971, allocations: 67.39 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006977, allocations: 4.625 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.006987, allocations: 3.938 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.167e-05/0.006999, allocations: 8.844 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.007004, allocations: 4 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.007138, allocations: 48.81 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.007155, allocations: 12 kB / 0.8853 GB, free: 14.68 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: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 7.485e-05/0.00723, allocations: 172.5 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.007243, allocations: 15.94 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.007267, allocations: 12.34 kB / 0.8854 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.00727, allocations: 3.938 kB / 0.8854 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.007272, allocations: 0 / 0.8854 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.007275, allocations: 0 / 0.8854 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.374e-05/0.007369, allocations: 160.5 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007369, allocations: 7.938 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-06/0.007373, allocations: 0 / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.007375, allocations: 4 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.00738, allocations: 3.984 kB / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.007382, allocations: 4 kB / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007383, allocations: 3.938 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.588e-05/0.007479, allocations: 132 kB / 0.8858 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.007487, allocations: 7.906 kB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.007497, allocations: 4 kB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.007509, allocations: 0 / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.007532, allocations: 15.92 kB / 0.8858 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.007535, allocations: 4 kB / 0.8858 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.00759, allocations: 155.2 kB / 0.8859 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00759, allocations: 0 / 0.8859 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000163/0.007753, allocations: 35.95 kB / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.323e-05/0.007837, allocations: 107.2 kB / 0.8861 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.00805, allocations: 277.7 kB / 0.8863 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.008052, allocations: 0 / 0.8863 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.00808, allocations: 28.17 kB / 0.8864 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.008224, allocations: 24.44 kB / 0.8864 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.008489, allocations: 250.5 kB / 0.8866 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.008522, allocations: 63.34 kB / 0.8867 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.008545, allocations: 12.97 kB / 0.8867 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.008562, allocations: 12.5 kB / 0.8867 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.008562, allocations: 4 kB / 0.8867 GB, free: 13 MB / 0.8542 GB Notification: Performance of Templates: time 0.00327/0.01183, allocations: 2.093 MB / 0.8888 GB, free: 10.98 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.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.788859595078975]