Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 106 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 195.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 67.2 kB / 0.8127 GB, free: 32.4 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002116/0.2603, allocations: 0.9408 MB / 0.9507 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2619, allocations: 1.276 MB / 0.9519 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.262, allocations: 0 / 0.9519 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.2622, allocations: 15.86 kB / 0.952 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.221e-05/0.2623, allocations: 23.84 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.263, allocations: 246.9 kB / 0.9522 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.2634, allocations: 343.4 kB / 0.9525 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.2636, allocations: 65.44 kB / 0.9526 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2638, allocations: 131.7 kB / 0.9527 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.264, allocations: 119.6 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.2641, allocations: 28 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.2642, allocations: 43.98 kB / 0.9529 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.2643, allocations: 43.84 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2644, allocations: 115.5 kB / 0.9531 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.2647, allocations: 255.6 kB / 0.9533 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2647, allocations: 4 kB / 0.9533 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.826e-06/0.2647, allocations: 0 / 0.9533 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2647, allocations: 3.938 kB / 0.9533 GB, free: 5.578 MB / 0.7325 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.0006915/0.2654, allocations: 0.5409 MB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2654, allocations: 8.031 kB / 0.9539 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.2655, allocations: 28.66 kB / 0.9539 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.2662, allocations: 296 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.2662, allocations: 16.38 kB / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.2663, allocations: 20.38 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2665, allocations: 156.9 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2665, allocations: 0 / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2665, allocations: 8 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2665, allocations: 4 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.2667, allocations: 59.91 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.2676, allocations: 0.7584 MB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.5e-05/0.2677, allocations: 61.17 kB / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.2677, allocations: 21.78 kB / 0.9552 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2677, allocations: 3.984 kB / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.268, allocations: 105 kB / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.268, allocations: 0 / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0002828/0.2683, allocations: 125.4 kB / 0.9555 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.2683, allocations: 81.09 kB / 0.9555 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.2685, allocations: 219.5 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.2686, allocations: 29.7 kB / 0.9558 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2687, allocations: 147.8 kB / 0.9559 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.2687, allocations: 11.81 kB / 0.9559 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2688, allocations: 61.69 kB / 0.956 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.269, allocations: 334.8 kB / 0.9563 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2691, allocations: 63.97 kB / 0.9564 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.2693, allocations: 118.8 kB / 0.9565 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.2695, allocations: 198.1 kB / 0.9567 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2695, allocations: 4 kB / 0.9567 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004736/0.27, allocations: 300.6 kB / 0.957 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.2701, allocations: 59.41 kB / 0.957 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2701, allocations: 7.984 kB / 0.957 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2701, allocations: 4 kB / 0.957 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.2702, allocations: 15.98 kB / 0.957 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2702, allocations: 0 / 0.957 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.2705, allocations: 56.06 kB / 0.9571 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.2705, allocations: 15.98 kB / 0.9571 GB, free: 1.316 MB / 0.7325 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],conInt3.y,conInt2.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 0.0001557/0.2707, allocations: 149.7 kB / 0.9573 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2707, allocations: 11.81 kB / 0.9573 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.2708, allocations: 29.39 kB / 0.9573 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2708, allocations: 0 / 0.9573 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2708, allocations: 0 / 0.9573 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2708, allocations: 0 / 0.9573 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.271, allocations: 229.5 kB / 0.9575 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.271, allocations: 4 kB / 0.9575 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.271, allocations: 7.984 kB / 0.9575 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2711, allocations: 0 / 0.9575 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.2711, allocations: 0 / 0.9575 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.2711, allocations: 4 kB / 0.9575 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2711, allocations: 3.938 kB / 0.9575 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.2713, allocations: 141.7 kB / 0.9577 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.2713, allocations: 92.91 kB / 0.9578 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.2714, allocations: 8 kB / 0.9578 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.2714, allocations: 0 / 0.9578 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.2714, allocations: 11.92 kB / 0.9578 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.2714, allocations: 4 kB / 0.9578 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000124/0.2716, allocations: 149.5 kB / 0.9579 GB, free: 404 kB / 0.7325 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2716, allocations: 0 / 0.9579 GB, free: 404 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002745/0.2719, allocations: 47.78 kB / 0.958 GB, free: 356 kB / 0.7325 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 0.0001699/0.272, allocations: 111.2 kB / 0.9581 GB, free: 236 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.2724, allocations: 258.7 kB / 0.9583 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2725, allocations: 0 / 0.9583 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.2725, allocations: 36.3 kB / 0.9584 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.2728, allocations: 48.03 kB / 0.9584 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.2734, allocations: 374.5 kB / 0.9588 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2737, allocations: 0.7319 MB / 0.9595 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.2738, allocations: 15.44 kB / 0.9595 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.2738, allocations: 0 / 0.9595 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.004551/0.2783, allocations: 2.466 MB / 0.9619 GB, free: 12.25 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches