Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001914/0.001914, allocations: 79.59 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00216/0.00216, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.561/1.561, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.794/2.794, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_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.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_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.526e-06/3.526e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.163e-05/4.515e-05, allocations: 6.219 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002265/0.00231, allocations: 0.8399 MB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.004605, allocations: 1.319 MB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.004692, allocations: 4 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.004839, allocations: 19.73 kB / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.004952, allocations: 35.72 kB / 0.9531 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/0.00589, allocations: 273.7 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.006392, allocations: 327.4 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.006573, allocations: 37.64 kB / 0.9538 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.006841, allocations: 183.7 kB / 0.9539 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.007049, allocations: 91.69 kB / 0.954 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.007113, allocations: 32 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.007241, allocations: 47.92 kB / 0.9541 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.06e-05/0.007331, allocations: 47.84 kB / 0.9541 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.007507, allocations: 87.8 kB / 0.9542 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.008012, allocations: 390.8 kB / 0.9546 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.008016, allocations: 4 kB / 0.9546 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.008017, allocations: 0 / 0.9546 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.008022, allocations: 0 / 0.9546 GB, free: 7.824 MB / 0.8575 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.0008435/0.008866, allocations: 484.7 kB / 0.9551 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.008917, allocations: 12.03 kB / 0.9551 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.009318, allocations: 60.81 kB / 0.9551 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006457/0.009964, allocations: 239 kB / 0.9554 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.009993, allocations: 12.38 kB / 0.9554 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.01005, allocations: 20.38 kB / 0.9554 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.01032, allocations: 149.6 kB / 0.9555 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.01033, allocations: 192 / 0.9555 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.01035, allocations: 16.3 kB / 0.9555 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.01036, allocations: 8.125 kB / 0.9556 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.01049, allocations: 63.89 kB / 0.9556 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.01137, allocations: 0.6412 MB / 0.9562 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.01151, allocations: 53.25 kB / 0.9563 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.01156, allocations: 29.77 kB / 0.9563 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.01157, allocations: 0 / 0.9563 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.01184, allocations: 109 kB / 0.9564 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.01184, allocations: 0 / 0.9564 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003706/0.01221, allocations: 125.5 kB / 0.9565 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.01229, allocations: 85.05 kB / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.01256, allocations: 211.8 kB / 0.9568 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.0126, allocations: 33.7 kB / 0.9569 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.01276, allocations: 148.2 kB / 0.957 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.01278, allocations: 19.89 kB / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.01291, allocations: 65.67 kB / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.0131, allocations: 322.8 kB / 0.9574 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.01331, allocations: 131.4 kB / 0.9575 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.01362, allocations: 243.3 kB / 0.9577 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.01391, allocations: 194.1 kB / 0.9579 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01392, allocations: 8.031 kB / 0.9579 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000595/0.01451, allocations: 364.1 kB / 0.9583 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.389e-05/0.0146, allocations: 69.52 kB / 0.9584 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.0146, allocations: 0 / 0.9584 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.01462, allocations: 4 kB / 0.9584 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.0147, allocations: 12 kB / 0.9584 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.0147, allocations: 4 kB / 0.9584 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.01505, allocations: 63.95 kB / 0.9584 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.01509, allocations: 15.98 kB / 0.9584 GB, free: 3.5 MB / 0.8575 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.0001789/0.01527, allocations: 146.4 kB / 0.9586 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.0153, allocations: 15.84 kB / 0.9586 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.01535, allocations: 25.02 kB / 0.9586 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01535, allocations: 3.938 kB / 0.9586 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01536, allocations: 4 kB / 0.9586 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01536, allocations: 0 / 0.9586 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.01556, allocations: 161.3 kB / 0.9588 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01556, allocations: 0 / 0.9588 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.01558, allocations: 4 kB / 0.9588 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01559, allocations: 0 / 0.9588 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.0156, allocations: 7.938 kB / 0.9588 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.0156, allocations: 0 / 0.9588 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01561, allocations: 0 / 0.9588 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.01583, allocations: 142.2 kB / 0.9589 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.01585, allocations: 11.91 kB / 0.9589 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.01589, allocations: 15.94 kB / 0.959 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.01592, allocations: 0 / 0.959 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.01597, allocations: 11.98 kB / 0.959 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.01598, allocations: 7.984 kB / 0.959 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001414/0.01612, allocations: 145.5 kB / 0.9591 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01612, allocations: 0 / 0.9591 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002776/0.0164, allocations: 47.88 kB / 0.9592 GB, free: 2.711 MB / 0.8575 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.0002045/0.0166, allocations: 107.1 kB / 0.9593 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004691/0.01707, allocations: 310.1 kB / 0.9596 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01708, allocations: 0 / 0.9596 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.01714, allocations: 27.92 kB / 0.9596 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.01746, allocations: 39.97 kB / 0.9596 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.01805, allocations: 295.3 kB / 0.9599 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.01826, allocations: 119.9 kB / 0.96 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.303e-05/0.01832, allocations: 17.48 kB / 0.96 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.01835, allocations: 16.5 kB / 0.9601 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.01835, allocations: 4 kB / 0.9601 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of Templates: time 0.00707/0.02542, allocations: 2.639 MB / 0.9626 GB, free: 15.13 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.309495646506548]