Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001855/0.001855, allocations: 105.9 kB / 16.45 MB, free: 6.453 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.002112/0.002112, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.607/1.607, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.379/3.379, allocations: 0.4899 GB / 0.7916 GB, free: 33.5 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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [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.002105/0.002105, allocations: 66.47 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.423, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002551/0.4255, allocations: 1.008 MB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.4276, allocations: 1.369 MB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.4277, allocations: 0 / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.4279, allocations: 19.75 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.428, allocations: 47.64 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.4289, allocations: 275.9 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.4294, allocations: 379.3 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.4296, allocations: 53.55 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.4298, allocations: 159.6 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.43, allocations: 131.5 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.4301, allocations: 40 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.4303, allocations: 59.97 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.4304, allocations: 55.78 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.4305, allocations: 139.4 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.431, allocations: 402.5 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.431, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.431, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.431, allocations: 0 / 1.325 GB, free: 14.71 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001241/0.4323, allocations: 0.6225 MB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4323, allocations: 11.98 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.4327, allocations: 72.75 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4337, allocations: 367 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.4338, allocations: 24.3 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.4338, allocations: 20.36 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.4343, allocations: 198.4 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4343, allocations: 11.94 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.4344, allocations: 4 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4344, allocations: 7.984 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.4349, allocations: 135.8 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4362, allocations: 0.9148 MB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.4366, allocations: 153 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.4369, allocations: 84.3 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4369, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.4374, allocations: 163.5 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.4374, allocations: 3.938 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0009695/0.4383, allocations: 257.2 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.4385, allocations: 162.6 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.4387, allocations: 225 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.4388, allocations: 29.7 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.4389, allocations: 156.4 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.439, allocations: 31.73 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.4391, allocations: 49.69 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002661/0.4394, allocations: 334.8 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.4397, allocations: 107.9 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.4401, allocations: 179.6 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.4408, allocations: 270.9 kB / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4408, allocations: 0 / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009549/0.4418, allocations: 376.6 kB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/0.4418, allocations: 71.39 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4418, allocations: 0 / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4419, allocations: 4 kB / 1.33 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.442, allocations: 24.19 kB / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.442, allocations: 8 kB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.4425, allocations: 71.81 kB / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.4425, allocations: 19.92 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001818/0.4427, allocations: 149.8 kB / 1.33 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.4427, allocations: 19.91 kB / 1.33 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.4428, allocations: 21.23 kB / 1.33 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4428, allocations: 4 kB / 1.33 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4428, allocations: 0 / 1.33 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4428, allocations: 4 kB / 1.33 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.4431, allocations: 265.4 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4431, allocations: 4 kB / 1.331 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.4433, allocations: 35.84 kB / 1.331 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4433, allocations: 4.469 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.4433, allocations: 4 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4433, allocations: 0 / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4433, allocations: 0 / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.4439, allocations: 240.2 kB / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.444, allocations: 105 kB / 1.331 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.444, allocations: 3.984 kB / 1.331 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4442, allocations: 15.98 kB / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.4442, allocations: 19.97 kB / 1.331 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4443, allocations: 12 kB / 1.331 GB, free: 8.152 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000158/0.4444, allocations: 160.4 kB / 1.331 GB, free: 7.996 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4444, allocations: 0 / 1.331 GB, free: 7.996 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003175/0.4447, allocations: 51.89 kB / 1.331 GB, free: 7.945 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001933/0.4449, allocations: 107.2 kB / 1.331 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000837/0.4458, allocations: 318.5 kB / 1.332 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4458, allocations: 0 / 1.332 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.4461, allocations: 80.31 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.4464, allocations: 40.41 kB / 1.332 GB, free: 7.379 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.4472, allocations: 394.5 kB / 1.332 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4476, allocations: 0.7437 MB / 1.333 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.4477, allocations: 33.53 kB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.4478, allocations: 19.44 kB / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.4478, allocations: 0 / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of Templates: time 0.007761/0.4556, allocations: 3.095 MB / 1.336 GB, free: 3.082 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.689574657939374]