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.0008237/0.0008237, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009675/0.001791, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008189/0.0008189, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001868, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9693/0.9693, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09419/1.063, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.415/2.415, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2485/2.663, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.895e-06/2.895e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.962e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002043/0.002072, allocations: 0.7621 MB / 0.819 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005704/0.007776, allocations: 1.302 MB / 0.8203 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.00784, allocations: 4 kB / 0.8203 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.229e-05/0.007912, allocations: 15.8 kB / 0.8203 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.683e-05/0.007969, allocations: 15.88 kB / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.008563, allocations: 223.4 kB / 0.8206 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00032/0.008883, allocations: 259.5 kB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.009, allocations: 31.92 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.009372, allocations: 159.8 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.009547, allocations: 63.84 kB / 0.821 GB, free: 60 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.009582, allocations: 16 kB / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.009702, allocations: 35.97 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.009776, allocations: 24.05 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.009854, allocations: 51.81 kB / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.01313, allocations: 147.6 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.01314, allocations: 0 / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01314, allocations: 0 / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.01316, allocations: 0 / 0.8213 GB, free: 15.79 MB / 0.8073 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.000572/0.01373, allocations: 435.3 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.01377, allocations: 8.625 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.01407, allocations: 122 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.01428, allocations: 165.5 kB / 0.822 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.0143, allocations: 4.375 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.01433, allocations: 20.38 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.01446, allocations: 105.6 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.01447, allocations: 192 / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.01448, allocations: 8.359 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.01449, allocations: 4.375 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.938e-05/0.01453, allocations: 19.88 kB / 0.8222 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.01495, allocations: 496.5 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.01501, allocations: 33.22 kB / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.01502, allocations: 13.77 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-06/0.01503, allocations: 4 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.01516, allocations: 96.97 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.01517, allocations: 0 / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001497/0.01532, allocations: 69.59 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.01537, allocations: 85.11 kB / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.01548, allocations: 164.7 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.01551, allocations: 37.7 kB / 0.8231 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.01558, allocations: 112 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.01559, allocations: 15.94 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/0.01567, allocations: 49.66 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.01576, allocations: 326.8 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.01586, allocations: 111.2 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/0.01904, allocations: 207.4 kB / 0.8239 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.01918, allocations: 166.5 kB / 0.8241 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.01919, allocations: 4 kB / 0.8241 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005462/0.01974, allocations: 284.3 kB / 0.8243 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.0198, allocations: 67.39 kB / 0.8244 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.01981, allocations: 8 kB / 0.8244 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01982, allocations: 0 / 0.8244 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.01984, allocations: 4 kB / 0.8244 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.01984, allocations: 7.984 kB / 0.8244 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.02006, allocations: 50.3 kB / 0.8245 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.02009, allocations: 20.2 kB / 0.8245 GB, free: 12.16 MB / 0.8073 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.644e-05/0.02018, allocations: 120.6 kB / 0.8246 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.0202, allocations: 11.98 kB / 0.8246 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.02025, allocations: 8.344 kB / 0.8246 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02025, allocations: 0 / 0.8246 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02025, allocations: 4 kB / 0.8246 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.02026, allocations: 7.875 kB / 0.8246 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.02037, allocations: 93.84 kB / 0.8247 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02037, allocations: 0 / 0.8247 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-06/0.02038, allocations: 0 / 0.8247 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.0204, allocations: 19.89 kB / 0.8247 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.0204, allocations: 0 / 0.8247 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.02041, allocations: 7.984 kB / 0.8247 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02041, allocations: 0 / 0.8247 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.02041, allocations: 0 / 0.8247 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.02051, allocations: 93.84 kB / 0.8248 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.02053, allocations: 0 / 0.8248 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.02055, allocations: 4 kB / 0.8248 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.02057, allocations: 3.984 kB / 0.8248 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.02058, allocations: 4 kB / 0.8248 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.02062, allocations: 39.88 kB / 0.8249 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02062, allocations: 4 kB / 0.8249 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002382/0.02086, allocations: 35.94 kB / 0.8249 GB, free: 11.66 MB / 0.8073 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.0001416/0.021, allocations: 84.36 kB / 0.825 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.02127, allocations: 262.9 kB / 0.8253 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.02127, allocations: 7.984 kB / 0.8253 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.0213, allocations: 20.84 kB / 0.8253 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.02148, allocations: 36.55 kB / 0.8253 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.02517, allocations: 244.9 kB / 0.8256 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.58e-05/0.02522, allocations: 67.2 kB / 0.8256 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.207e-05/0.02527, allocations: 12.97 kB / 0.8256 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.02542, allocations: 83.34 kB / 0.8257 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.02542, allocations: 0 / 0.8257 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of Templates: time 0.008446/0.03386, allocations: 2.327 MB / 0.828 GB, free: 8.473 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.ref.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.3153661247342825]