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.001548/0.001548, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001909/0.001909, allocations: 169 kB / 23.82 MB, free: 0.7422 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 0.9582/0.9582, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.745/1.745, allocations: 359 MB / 0.6052 GB, free: 11.01 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 2.876e-06/2.876e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.438e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001368/0.001393, allocations: 0.7254 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.00279, allocations: 1.304 MB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.002857, allocations: 0 / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.002981, allocations: 12.44 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.003037, allocations: 19.84 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.003704, allocations: 238 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.003989, allocations: 243.5 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.00412, allocations: 23.97 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.004287, allocations: 149.4 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.004435, allocations: 67.83 kB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.004468, allocations: 17.22 kB / 0.7898 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.004561, allocations: 27.94 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.004632, allocations: 39.89 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.004716, allocations: 64.45 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.004965, allocations: 187.4 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004968, allocations: 1.406 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004968, allocations: 0 / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.004974, allocations: 0 / 0.7901 GB, free: 9.391 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.0005767/0.00555, allocations: 0.5196 MB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.005599, allocations: 8.031 kB / 0.7906 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.005907, allocations: 69.75 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.006116, allocations: 178.6 kB / 0.7909 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.006132, allocations: 9.031 kB / 0.7909 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.006156, allocations: 20.31 kB / 0.7909 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.006325, allocations: 123.2 kB / 0.791 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006335, allocations: 192 / 0.791 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.006347, allocations: 3.781 kB / 0.791 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.006356, allocations: 8.312 kB / 0.791 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.006399, allocations: 27.92 kB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.006935, allocations: 0.7658 MB / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.776e-05/0.006993, allocations: 62.09 kB / 0.7919 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.007013, allocations: 23.44 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-06/0.007017, allocations: 0 / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.007124, allocations: 101.1 kB / 0.792 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.007125, allocations: 1.656 kB / 0.792 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001857/0.00731, allocations: 97.55 kB / 0.7921 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.007351, allocations: 85.05 kB / 0.7922 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.007471, allocations: 228.2 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.007493, allocations: 29.7 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.007567, allocations: 172.1 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.007578, allocations: 19.78 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.00765, allocations: 67.33 kB / 0.7926 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.007778, allocations: 0.4967 MB / 0.7931 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.007883, allocations: 107.4 kB / 0.7932 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.008036, allocations: 256.9 kB / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.008169, allocations: 186.4 kB / 0.7937 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.008172, allocations: 1.469 kB / 0.7937 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002904/0.008462, allocations: 329.3 kB / 0.794 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.008503, allocations: 67.39 kB / 0.794 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.00851, allocations: 4 kB / 0.794 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.008522, allocations: 0.5312 kB / 0.794 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.008539, allocations: 12.45 kB / 0.7941 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.008546, allocations: 4 kB / 0.7941 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.00871, allocations: 41.61 kB / 0.7941 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.008731, allocations: 19.92 kB / 0.7941 GB, free: 4.871 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.742e-05/0.008819, allocations: 169.2 kB / 0.7943 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.008833, allocations: 11.95 kB / 0.7943 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.008865, allocations: 16.33 kB / 0.7943 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008868, allocations: 0 / 0.7943 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.008874, allocations: 13.03 kB / 0.7943 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008877, allocations: 384 / 0.7943 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.00898, allocations: 168.5 kB / 0.7945 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008982, allocations: 0.8125 kB / 0.7945 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-06/0.008986, allocations: 0 / 0.7945 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.008987, allocations: 0.5625 kB / 0.7945 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.008996, allocations: 8.812 kB / 0.7945 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008997, allocations: 0 / 0.7945 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.008999, allocations: 3.938 kB / 0.7945 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.009102, allocations: 128.9 kB / 0.7946 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.009111, allocations: 7.953 kB / 0.7946 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.009123, allocations: 9.266 kB / 0.7946 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/0.009136, allocations: 4 kB / 0.7946 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.009164, allocations: 7.938 kB / 0.7946 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.009169, allocations: 3.984 kB / 0.7946 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.00923, allocations: 157.8 kB / 0.7948 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00923, allocations: 0 / 0.7948 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001653/0.009395, allocations: 38.25 kB / 0.7948 GB, free: 4.074 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.0001068/0.009502, allocations: 111.1 kB / 0.7949 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.009747, allocations: 281.2 kB / 0.7952 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009748, allocations: 0 / 0.7952 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.00978, allocations: 31.61 kB / 0.7952 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.009937, allocations: 15.98 kB / 0.7953 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.01026, allocations: 242.5 kB / 0.7955 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.0103, allocations: 71.33 kB / 0.7955 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.01032, allocations: 10.34 kB / 0.7956 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.01034, allocations: 16.5 kB / 0.7956 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01034, allocations: 0.5625 kB / 0.7956 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.003788/0.01413, allocations: 2.247 MB / 0.7978 GB, free: 1.039 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.045458373147994]