Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001036/0.001036, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001895/0.001895, allocations: 181 kB / 23.36 MB, free: 1.133 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.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.458/2.458, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.874e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001422/0.00144, allocations: 0.8657 MB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.002838, allocations: 1.349 MB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.002889, allocations: 3.938 kB / 0.8408 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.00299, allocations: 23.73 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.003057, allocations: 39.72 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.003553, allocations: 255.4 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.003803, allocations: 327.4 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.003902, allocations: 38.31 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.00408, allocations: 199.6 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.004207, allocations: 75.83 kB / 0.8417 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.004235, allocations: 20 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.004308, allocations: 47.92 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.00436, allocations: 51.77 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.004428, allocations: 79.83 kB / 0.8419 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.004626, allocations: 215.3 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004628, allocations: 0 / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004628, allocations: 4 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004633, allocations: 0 / 0.8421 GB, free: 10.64 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004178/0.005051, allocations: 459.2 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.005079, allocations: 8.625 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.005253, allocations: 48.89 kB / 0.8426 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.005432, allocations: 189.2 kB / 0.8427 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.005451, allocations: 16.36 kB / 0.8428 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.005478, allocations: 20.38 kB / 0.8428 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.005591, allocations: 133.7 kB / 0.8429 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005598, allocations: 192 / 0.8429 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.00561, allocations: 8.375 kB / 0.8429 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005616, allocations: 8.312 kB / 0.8429 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.00565, allocations: 27.86 kB / 0.8429 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.006019, allocations: 0.5266 MB / 0.8435 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.006072, allocations: 53.25 kB / 0.8435 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.006094, allocations: 17.77 kB / 0.8435 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.006101, allocations: 4 kB / 0.8435 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.072e-05/0.006191, allocations: 96.94 kB / 0.8436 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 7.11e-07/0.006192, allocations: 0 / 0.8436 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001232/0.006315, allocations: 89.53 kB / 0.8437 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.006349, allocations: 81.09 kB / 0.8438 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.006457, allocations: 199.4 kB / 0.844 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.006479, allocations: 37.7 kB / 0.844 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.006588, allocations: 124.3 kB / 0.8441 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.006599, allocations: 19.8 kB / 0.8442 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.006663, allocations: 61.64 kB / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.006741, allocations: 330.8 kB / 0.8445 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.006812, allocations: 99.38 kB / 0.8446 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.006913, allocations: 219.3 kB / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.007027, allocations: 176.9 kB / 0.845 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.00703, allocations: 0 / 0.845 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001961/0.007226, allocations: 284.2 kB / 0.8453 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.00726, allocations: 67.39 kB / 0.8453 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007264, allocations: 4 kB / 0.8453 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.007277, allocations: 3.938 kB / 0.8453 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.071e-05/0.007318, allocations: 15.92 kB / 0.8454 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.007321, allocations: 8.188 kB / 0.8454 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.00746, allocations: 39.97 kB / 0.8454 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.007475, allocations: 7.984 kB / 0.8454 GB, free: 6.852 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: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt2.y,conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.397e-05/0.007549, allocations: 128.6 kB / 0.8455 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.007562, allocations: 15.98 kB / 0.8456 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.007591, allocations: 17.02 kB / 0.8456 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.007593, allocations: 3.938 kB / 0.8456 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007595, allocations: 15.88 kB / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007598, allocations: 0 / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.029e-05/0.007678, allocations: 105.8 kB / 0.8457 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.00768, allocations: 4 kB / 0.8457 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.007692, allocations: 4.469 kB / 0.8457 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007694, allocations: 3.984 kB / 0.8457 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.007699, allocations: 4 kB / 0.8457 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.0077, allocations: 0 / 0.8457 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007701, allocations: 4 kB / 0.8457 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.292e-05/0.007774, allocations: 101.9 kB / 0.8458 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.007788, allocations: 23.83 kB / 0.8458 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.007798, allocations: 0 / 0.8458 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.007814, allocations: 8 kB / 0.8458 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.007833, allocations: 7.922 kB / 0.8458 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.007836, allocations: 4 kB / 0.8458 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.007872, allocations: 49.8 kB / 0.8459 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007872, allocations: 0 / 0.8459 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001519/0.008024, allocations: 51.88 kB / 0.8459 GB, free: 6.258 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: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 9.159e-05/0.008115, allocations: 84.41 kB / 0.846 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.0083, allocations: 278.9 kB / 0.8463 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.008302, allocations: 0 / 0.8463 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.008326, allocations: 20.86 kB / 0.8463 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.00845, allocations: 35.91 kB / 0.8463 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.00875, allocations: 293.3 kB / 0.8466 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.008784, allocations: 75.98 kB / 0.8467 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.008817, allocations: 13.48 kB / 0.8467 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.008925, allocations: 95.33 kB / 0.8468 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.008925, allocations: 0 / 0.8468 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of Templates: time 0.004027/0.01295, allocations: 2.878 MB / 0.8496 GB, free: 2.477 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.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.481276432052255]