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.001782/0.001782, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002018/0.002018, allocations: 220 kB / 23 MB, free: 4.914 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.826/2.826, allocations: 476 MB / 0.7707 GB, free: 4.727 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.002183/0.002183, allocations: 67.06 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3274, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002425/0.3299, allocations: 0.7086 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.332, allocations: 1.258 MB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.3321, allocations: 0 / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.3322, allocations: 15.86 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.3322, allocations: 7.875 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008342/0.3331, allocations: 249.6 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000413/0.3335, allocations: 251.6 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3336, allocations: 23.92 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.3338, allocations: 107.8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.334, allocations: 71.77 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.3341, allocations: 20 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3342, allocations: 35.98 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.3342, allocations: 39.92 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3343, allocations: 83.62 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.3347, allocations: 227.2 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3347, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3347, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3347, allocations: 0 / 1.287 GB, free: 8.875 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.0006605/0.3353, allocations: 437.1 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3354, allocations: 8.031 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.3357, allocations: 52.81 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.3363, allocations: 202.4 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3363, allocations: 12.38 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.3364, allocations: 20.38 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.3366, allocations: 125.5 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3366, allocations: 7.875 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3366, allocations: 11.98 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3366, allocations: 3.938 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.3368, allocations: 51.91 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.3375, allocations: 0.5672 MB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.3376, allocations: 45.09 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.3376, allocations: 21.83 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.3376, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.3379, allocations: 93.03 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3379, allocations: 0 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002703/0.3382, allocations: 101.9 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.3382, allocations: 85.03 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3384, allocations: 173 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3384, allocations: 41.7 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3385, allocations: 116 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.3386, allocations: 19.89 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3387, allocations: 53.69 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3388, allocations: 326.8 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.339, allocations: 115.4 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.3393, allocations: 223.4 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.3395, allocations: 186.2 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3395, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004986/0.34, allocations: 332.1 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.3401, allocations: 67.33 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3401, allocations: 4 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3401, allocations: 0 / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.13e-05/0.3402, allocations: 4 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3402, allocations: 8.25 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3405, allocations: 51.94 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.3405, allocations: 11.98 kB / 1.29 GB, free: 4.984 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.0001966/0.3407, allocations: 145.7 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.3408, allocations: 15.84 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3408, allocations: 16.33 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3408, allocations: 4 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3408, allocations: 0 / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3408, allocations: 0 / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.341, allocations: 145.2 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.341, allocations: 0 / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.341, allocations: 0 / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.341, allocations: 4 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.341, allocations: 7.938 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.341, allocations: 96 / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.341, allocations: 7.922 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.3412, allocations: 117.9 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3412, allocations: 15.91 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3412, allocations: 3.938 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.3412, allocations: 11.98 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.3413, allocations: 0 / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3413, allocations: 4 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001094/0.3414, allocations: 126.7 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3414, allocations: 0 / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002523/0.3416, allocations: 28 kB / 1.291 GB, free: 4.281 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.0001554/0.3418, allocations: 111.1 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.3422, allocations: 278 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3422, allocations: 0 / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.3423, allocations: 23.98 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.3425, allocations: 17.88 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.343, allocations: 290 kB / 1.292 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3431, allocations: 98.27 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.3432, allocations: 15.44 kB / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3432, allocations: 0 / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of Templates: time 0.004224/0.3474, allocations: 1.904 MB / 1.294 GB, free: 1.48 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/jenkins1/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: 11.63227776484564]