Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001549/0.001549, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001613/0.001613, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.641/1.641, allocations: 230.6 MB / 256 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.459/3.459, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [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.002171/0.002171, allocations: 74.42 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3847, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002099/0.3868, allocations: 0.7126 MB / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3889, allocations: 1.256 MB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.389, allocations: 7.938 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.3891, allocations: 11.86 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-05/0.3892, allocations: 15.88 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.39, allocations: 236.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.3904, allocations: 247.6 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3905, allocations: 27.98 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3907, allocations: 103.8 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.3908, allocations: 75.77 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/0.3909, allocations: 23.94 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.391, allocations: 31.98 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.3911, allocations: 35.92 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3912, allocations: 83.69 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.3915, allocations: 231.2 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3915, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3915, allocations: 3.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3915, allocations: 0 / 1.329 GB, free: 14.8 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007583/0.3923, allocations: 438.9 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3923, allocations: 8.031 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.3927, allocations: 52.81 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.3933, allocations: 199.7 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3933, allocations: 12.38 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.3934, allocations: 20.36 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.3936, allocations: 129.6 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3936, allocations: 7.875 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3936, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3936, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.3937, allocations: 47.91 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.3944, allocations: 0.5789 MB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/0.3945, allocations: 45.16 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.3945, allocations: 21.77 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.3945, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.3947, allocations: 92.97 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3947, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002475/0.395, allocations: 101.5 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.3951, allocations: 89.08 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3952, allocations: 170.1 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.3953, allocations: 37.69 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3954, allocations: 123.9 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.3954, allocations: 15.94 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.3955, allocations: 53.69 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3956, allocations: 322.8 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.3958, allocations: 115.4 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.396, allocations: 235.3 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3963, allocations: 174.2 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3963, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004678/0.3967, allocations: 332.1 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.712e-05/0.3968, allocations: 71.33 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3968, allocations: 384 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3968, allocations: 4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.968e-05/0.3969, allocations: 4.188 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3969, allocations: 8 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.3972, allocations: 51.94 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.3972, allocations: 15.98 kB / 1.332 GB, free: 10.91 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: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001387/0.3973, allocations: 141.4 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.3974, allocations: 19.83 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.3974, allocations: 16.42 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3974, allocations: 11.94 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3974, allocations: 0 / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3974, allocations: 0 / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3976, allocations: 145.2 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3976, allocations: 0 / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.3976, allocations: 7.938 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3976, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3976, allocations: 3.938 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3976, allocations: 4 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3976, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3978, allocations: 117.9 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.3978, allocations: 15.91 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3978, allocations: 3.938 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.3978, allocations: 0 / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3979, allocations: 7.984 kB / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3979, allocations: 4 kB / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.843e-05/0.398, allocations: 115.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.398, allocations: 3.938 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002628/0.3982, allocations: 39.98 kB / 1.333 GB, free: 10.19 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001549/0.3984, allocations: 99.19 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004771/0.3989, allocations: 278.1 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3989, allocations: 0 / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.3989, allocations: 19.94 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3991, allocations: 19.92 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.3996, allocations: 250.5 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.3997, allocations: 106.3 kB / 1.333 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.3998, allocations: 12.97 kB / 1.333 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.3998, allocations: 11.44 kB / 1.333 GB, free: 9.316 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3998, allocations: 0 / 1.333 GB, free: 9.316 MB / 1.029 GB Notification: Performance of Templates: time 0.005771/0.4056, allocations: 2.157 MB / 1.335 GB, free: 7.207 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.737812981009483]