Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001062/0.001062, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.00105/0.00105, allocations: 169 kB / 24.28 MB, free: 272 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 1.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.819/1.819, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 112 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.992e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001673/0.001693, allocations: 0.7177 MB / 0.7878 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.003395, allocations: 1.3 MB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.003459, allocations: 4.562 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.003568, allocations: 8.406 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.003616, allocations: 27.78 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.004232, allocations: 229.5 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.004514, allocations: 243.6 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.004659, allocations: 28.53 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.00483, allocations: 145 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.004975, allocations: 67.83 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.005006, allocations: 20 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.005091, allocations: 31.98 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.005153, allocations: 42.5 kB / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.005237, allocations: 67.81 kB / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.005456, allocations: 199.4 kB / 0.7901 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005458, allocations: 0 / 0.7901 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005459, allocations: 0 / 0.7901 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.005464, allocations: 0 / 0.7901 GB, free: 9.699 MB / 0.7448 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.0004728/0.005937, allocations: 0.5244 MB / 0.7906 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.005979, allocations: 12.03 kB / 0.7907 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.006258, allocations: 64.86 kB / 0.7907 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.006606, allocations: 197 kB / 0.7909 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.006623, allocations: 13.06 kB / 0.7909 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.006649, allocations: 16.38 kB / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.006809, allocations: 127.9 kB / 0.7911 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.006816, allocations: 192 / 0.7911 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.006827, allocations: 384 / 0.7911 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.006838, allocations: 9.656 kB / 0.7911 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.006881, allocations: 27.92 kB / 0.7911 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.007408, allocations: 0.7658 MB / 0.7918 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.925e-05/0.007477, allocations: 63.08 kB / 0.7919 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.007499, allocations: 19.38 kB / 0.7919 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.007508, allocations: 8.797 kB / 0.7919 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.007632, allocations: 98.91 kB / 0.792 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.007633, allocations: 0 / 0.792 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002273/0.00786, allocations: 101.5 kB / 0.7921 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.007914, allocations: 77.11 kB / 0.7922 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.00806, allocations: 232 kB / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.008084, allocations: 29.7 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.008176, allocations: 166.7 kB / 0.7926 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.008188, allocations: 20.38 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.008267, allocations: 68.05 kB / 0.7927 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.008416, allocations: 0.4923 MB / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.008526, allocations: 111.9 kB / 0.7933 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.008683, allocations: 255.5 kB / 0.7935 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.008828, allocations: 193.9 kB / 0.7937 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.008831, allocations: 0 / 0.7937 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003228/0.009154, allocations: 330.1 kB / 0.794 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.009198, allocations: 71.39 kB / 0.7941 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009203, allocations: 1.375 kB / 0.7941 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.009219, allocations: 7.938 kB / 0.7941 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.009236, allocations: 3.938 kB / 0.7941 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.009243, allocations: 5.906 kB / 0.7941 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.00939, allocations: 39.92 kB / 0.7941 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.009408, allocations: 11.98 kB / 0.7941 GB, free: 5.16 MB / 0.7448 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 8.749e-05/0.009496, allocations: 172.2 kB / 0.7943 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.009512, allocations: 15.94 kB / 0.7943 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.009543, allocations: 17.12 kB / 0.7943 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.009546, allocations: 3.938 kB / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.009551, allocations: 9.469 kB / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009555, allocations: 0 / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.009664, allocations: 168.4 kB / 0.7945 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.009665, allocations: 0 / 0.7945 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-06/0.009671, allocations: 5.062 kB / 0.7945 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.009672, allocations: 0 / 0.7945 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.009679, allocations: 384 / 0.7945 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.009681, allocations: 6 kB / 0.7945 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.009683, allocations: 3.938 kB / 0.7945 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.009799, allocations: 124 kB / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.009811, allocations: 15.94 kB / 0.7947 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.009822, allocations: 0 / 0.7947 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.009835, allocations: 2.344 kB / 0.7947 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.009865, allocations: 15.86 kB / 0.7947 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.00987, allocations: 4 kB / 0.7947 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.009931, allocations: 156.8 kB / 0.7948 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009931, allocations: 0 / 0.7948 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001757/0.01011, allocations: 39.95 kB / 0.7949 GB, free: 4.352 MB / 0.7448 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 0.0001096/0.01022, allocations: 104.2 kB / 0.795 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.01047, allocations: 275.7 kB / 0.7952 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01047, allocations: 0 / 0.7952 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.0105, allocations: 27.61 kB / 0.7953 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01067, allocations: 29.61 kB / 0.7953 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.01101, allocations: 242.5 kB / 0.7955 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.01105, allocations: 72.11 kB / 0.7956 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.01108, allocations: 12.22 kB / 0.7956 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.0111, allocations: 16.5 kB / 0.7956 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.0111, allocations: 0 / 0.7956 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.003655/0.01475, allocations: 2.087 MB / 0.7977 GB, free: 1.469 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.2892048039939255]