Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001747/0.001747, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002033/0.002033, allocations: 210.9 kB / 22.24 MB, free: 5.105 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.917/2.917, allocations: 475.9 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_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.002107/0.002107, allocations: 66.48 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3779, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002071/0.38, allocations: 0.712 MB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3819, allocations: 1.266 MB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.382, allocations: 0 / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3821, allocations: 11.88 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.3821, allocations: 15.86 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.3829, allocations: 253.1 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.3832, allocations: 247.6 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3834, allocations: 27.92 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3835, allocations: 103.9 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.3837, allocations: 79.7 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.3837, allocations: 19.98 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3839, allocations: 35.98 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.3839, allocations: 31.92 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.384, allocations: 79.69 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.3843, allocations: 227.2 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3844, allocations: 7.984 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3844, allocations: 4 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3844, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 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.0006396/0.385, allocations: 429.1 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.385, allocations: 11.97 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.3854, allocations: 56.8 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.3859, allocations: 192.9 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.386, allocations: 12.38 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.386, allocations: 20.38 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.3862, allocations: 131.6 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3862, allocations: 11.88 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3863, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3863, allocations: 4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.3864, allocations: 47.91 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.387, allocations: 0.575 MB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.3871, allocations: 41.09 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.3871, allocations: 13.84 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.3871, allocations: 4 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.3873, allocations: 97.02 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3873, allocations: 0 / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000254/0.3876, allocations: 97.56 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.3876, allocations: 81.11 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3878, allocations: 177 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.3878, allocations: 33.64 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.388, allocations: 124 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.388, allocations: 19.88 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.3881, allocations: 61.69 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3882, allocations: 322.8 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3884, allocations: 119.3 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.3886, allocations: 228.4 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3889, allocations: 182.5 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3889, allocations: 0 / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004897/0.3893, allocations: 336.2 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.3894, allocations: 67.33 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3894, allocations: 8 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3894, allocations: 0 / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.191e-05/0.3894, allocations: 8 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3895, allocations: 4 kB / 1.289 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.3898, allocations: 52.19 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.3898, allocations: 11.98 kB / 1.289 GB, free: 4.938 MB / 0.9825 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.0001401/0.39, allocations: 145.7 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.39, allocations: 15.84 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.39, allocations: 12.34 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.39, allocations: 0 / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.39, allocations: 0 / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.39, allocations: 7.984 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3902, allocations: 141.3 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3902, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.3902, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.3902, allocations: 7.984 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3902, allocations: 3.938 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3902, allocations: 0 / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3902, allocations: 0 / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.3904, allocations: 117.9 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.3904, allocations: 11.91 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.3904, allocations: 7.938 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.3904, allocations: 0 / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.3905, allocations: 7.984 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3905, allocations: 8 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000108/0.3906, allocations: 118.8 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3906, allocations: 0 / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002578/0.3908, allocations: 32 kB / 1.29 GB, free: 4.25 MB / 0.9825 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.0001595/0.391, allocations: 107.2 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.3914, allocations: 274.4 kB / 1.29 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3914, allocations: 4.062 kB / 1.29 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.3915, allocations: 19.98 kB / 1.29 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.3917, allocations: 26.27 kB / 1.29 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.3922, allocations: 260.1 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3923, allocations: 97.77 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.143e-05/0.3924, allocations: 17.16 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.3924, allocations: 15.44 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3924, allocations: 0 / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of Templates: time 0.005797/0.3982, allocations: 2.149 MB / 1.293 GB, free: 1.25 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.69616637006402]