Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001349/0.001349, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001899/0.001899, allocations: 181 kB / 24.09 MB, free: 416 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.6239 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.397e-05, allocations: 7.469 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002132/0.002166, allocations: 0.7091 MB / 0.8127 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.003929, allocations: 1.3 MB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.003989, allocations: 8.969 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.004104, allocations: 11.86 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.004164, allocations: 16.66 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.004811, allocations: 229.1 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.005122, allocations: 259.5 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.005245, allocations: 19.98 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.00545, allocations: 145.3 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.005606, allocations: 65.59 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.005644, allocations: 16 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.005741, allocations: 35.97 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.005798, allocations: 31.92 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.005884, allocations: 63.88 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.006129, allocations: 192.4 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006131, allocations: 0 / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.31e-07/0.006132, allocations: 0 / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.006135, allocations: 1.594 kB / 0.815 GB, free: 14.38 MB / 0.7761 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.0005249/0.00666, allocations: 0.5267 MB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.006699, allocations: 8.031 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.006954, allocations: 51.45 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.007151, allocations: 174.8 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.007171, allocations: 20.3 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.007201, allocations: 20.38 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.007346, allocations: 104.9 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.007355, allocations: 192 / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.007368, allocations: 8.359 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.007377, allocations: 5.094 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.007412, allocations: 31.78 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.007943, allocations: 0.7434 MB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.007998, allocations: 55.77 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.008015, allocations: 19.5 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.00802, allocations: 0 / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.008145, allocations: 101 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.008146, allocations: 0.9062 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001903/0.008336, allocations: 97.55 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.008378, allocations: 78.27 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.00852, allocations: 229.9 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.008547, allocations: 33.7 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.269e-05/0.00864, allocations: 172.1 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.008654, allocations: 15.84 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.008752, allocations: 63.31 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.008894, allocations: 0.4923 MB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.009002, allocations: 104.5 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.009174, allocations: 247.6 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.009332, allocations: 186.9 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009335, allocations: 0 / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003624/0.009697, allocations: 314.3 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.009753, allocations: 71.39 kB / 0.8189 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.009759, allocations: 0.5312 kB / 0.8189 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.009774, allocations: 4 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-05/0.009789, allocations: 2.562 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.009795, allocations: 7.938 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.01, allocations: 43.91 kB / 0.8189 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.01003, allocations: 11.98 kB / 0.8189 GB, free: 9.961 MB / 0.7761 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,con1.y,con.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 9.997e-05/0.01013, allocations: 170.2 kB / 0.8191 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.01015, allocations: 15.95 kB / 0.8191 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.01018, allocations: 8.344 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01019, allocations: 4.5 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.01019, allocations: 4.922 kB / 0.8191 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.0102, allocations: 7.938 kB / 0.8191 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.01031, allocations: 130.8 kB / 0.8192 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01031, allocations: 0 / 0.8192 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-06/0.01032, allocations: 0 / 0.8192 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.01032, allocations: 15.91 kB / 0.8193 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.01033, allocations: 4.781 kB / 0.8193 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01033, allocations: 0 / 0.8193 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01033, allocations: 0 / 0.8193 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.01047, allocations: 132.6 kB / 0.8194 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.01048, allocations: 11.64 kB / 0.8194 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.01049, allocations: 0 / 0.8194 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.01051, allocations: 4 kB / 0.8194 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.01053, allocations: 3.984 kB / 0.8194 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.01054, allocations: 4 kB / 0.8194 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.01061, allocations: 151.1 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01061, allocations: 0 / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002803/0.01089, allocations: 43.89 kB / 0.8196 GB, free: 9.207 MB / 0.7761 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.0001216/0.01101, allocations: 103.2 kB / 0.8197 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.01128, allocations: 267.5 kB / 0.82 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.01128, allocations: 8 kB / 0.82 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.01131, allocations: 20.7 kB / 0.82 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.01153, allocations: 21.11 kB / 0.82 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.01189, allocations: 242.6 kB / 0.8202 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.01194, allocations: 68.23 kB / 0.8203 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.01198, allocations: 14.09 kB / 0.8203 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.01212, allocations: 110.2 kB / 0.8204 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of SimCode: time 6.62e-07/0.01212, allocations: 0.7812 kB / 0.8204 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of Templates: time 0.004546/0.01666, allocations: 2.228 MB / 0.8226 GB, free: 6.098 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.191254818812013]