Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00159/0.00159, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002016/0.002016, allocations: 210.5 kB / 22.99 MB, free: 4.984 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.49 GB / 0.7959 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 73.86 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4202, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00299/0.4232, allocations: 0.8471 MB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.4257, allocations: 1.311 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.4258, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.4259, allocations: 23.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.426, allocations: 27.78 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.4269, allocations: 263.9 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.4274, allocations: 331.4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.4276, allocations: 41.66 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.4278, allocations: 127.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.428, allocations: 115.6 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.4281, allocations: 31.98 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.4282, allocations: 47.98 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.627e-05/0.4283, allocations: 39.84 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.4285, allocations: 107.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.4289, allocations: 346.8 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4289, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4289, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.429, allocations: 3.938 kB / 1.331 GB, free: 13.33 MB / 1.029 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.0008364/0.4298, allocations: 492.7 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4298, allocations: 11.97 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.4302, allocations: 56.81 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.431, allocations: 238.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.431, allocations: 12.38 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.4311, allocations: 20.38 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.4313, allocations: 153.5 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4314, allocations: 3.938 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4314, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4314, allocations: 7.938 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.4315, allocations: 71.89 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.4324, allocations: 0.6412 MB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.4325, allocations: 61.23 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.4326, allocations: 25.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.4326, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.4329, allocations: 101 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4329, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003226/0.4332, allocations: 125.5 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.4333, allocations: 85.05 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.4335, allocations: 211.8 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.4335, allocations: 29.7 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.4337, allocations: 148.3 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.4337, allocations: 19.84 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.4338, allocations: 69.62 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.434, allocations: 326.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.4342, allocations: 127.4 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.4345, allocations: 249.6 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.4348, allocations: 198.2 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.4348, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006405/0.4355, allocations: 364.7 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.4355, allocations: 69.28 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.4355, allocations: 4 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4356, allocations: 3.984 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.4356, allocations: 8 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4356, allocations: 4 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.436, allocations: 51.88 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.436, allocations: 19.98 kB / 1.334 GB, free: 9.008 MB / 1.029 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.000196/0.4362, allocations: 160.2 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.4362, allocations: 23.8 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.4363, allocations: 21.02 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4363, allocations: 0 / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4363, allocations: 3.938 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4363, allocations: 4 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.4365, allocations: 161.2 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4365, allocations: 3.938 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.4365, allocations: 4 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4365, allocations: 4 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4365, allocations: 4 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4365, allocations: 3.938 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4366, allocations: 0 / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.4368, allocations: 133.9 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.4368, allocations: 19.83 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.4368, allocations: 4 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.4369, allocations: 0 / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.4369, allocations: 7.984 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.4369, allocations: 4 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001451/0.4371, allocations: 149.5 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4371, allocations: 0 / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002877/0.4373, allocations: 47.89 kB / 1.335 GB, free: 8.203 MB / 1.029 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.0001762/0.4375, allocations: 107.2 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.438, allocations: 294.1 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.438, allocations: 0 / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.4381, allocations: 31.92 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.4384, allocations: 44.28 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.4391, allocations: 312.6 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4392, allocations: 111.6 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.105e-05/0.4392, allocations: 25.47 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.4393, allocations: 15.44 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4393, allocations: 4 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of Templates: time 0.007377/0.4467, allocations: 2.802 MB / 1.339 GB, free: 4.441 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.541673264000565]