Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 113.1 kB / 17.08 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 194.2 kB / 20.03 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437.1 MB / 0.7177 GB, free: 4.547 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.83 kB / 1.028 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.306, allocations: 151.6 MB / 1.176 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002347/0.3084, allocations: 1.045 MB / 1.177 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3105, allocations: 1.463 MB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.3106, allocations: 4 kB / 1.178 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.3108, allocations: 23.67 kB / 1.178 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.3109, allocations: 43.53 kB / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3121, allocations: 473.6 kB / 1.179 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000623/0.3127, allocations: 0.5271 MB / 1.179 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.313, allocations: 135.6 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.3132, allocations: 199.6 kB / 1.18 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.3135, allocations: 191.4 kB / 1.18 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.756e-05/0.3136, allocations: 52 kB / 1.18 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3138, allocations: 63.98 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.3139, allocations: 67.7 kB / 1.18 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.3141, allocations: 195.2 kB / 1.18 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.3148, allocations: 0.5139 MB / 1.181 GB, free: 1.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3148, allocations: 0 / 1.181 GB, free: 1.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3148, allocations: 0 / 1.181 GB, free: 1.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.3148, allocations: 0 / 1.181 GB, free: 1.059 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001018/0.3158, allocations: 0.7041 MB / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3159, allocations: 12.03 kB / 1.181 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.316, allocations: 40.8 kB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.317, allocations: 376 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.3171, allocations: 16.75 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.3172, allocations: 40.36 kB / 1.182 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.3176, allocations: 240.8 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3176, allocations: 3.938 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.3176, allocations: 8 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.3177, allocations: 4 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.3179, allocations: 143.3 kB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.3192, allocations: 0.7577 MB / 1.183 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.3195, allocations: 190.5 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.3198, allocations: 208.7 kB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3198, allocations: 7.938 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.3202, allocations: 245.6 kB / 1.184 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.3202, allocations: 0 / 1.184 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0007276/0.3209, allocations: 426.4 kB / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.321, allocations: 118.7 kB / 1.184 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.3213, allocations: 286.5 kB / 1.184 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.3214, allocations: 37.7 kB / 1.184 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3215, allocations: 160.8 kB / 1.185 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.3216, allocations: 59.53 kB / 1.185 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.3218, allocations: 145.6 kB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.322, allocations: 342.8 kB / 1.185 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.3223, allocations: 196.7 kB / 1.185 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.3228, allocations: 320 kB / 1.186 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007582/0.3236, allocations: 0.5271 MB / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.3236, allocations: 0 / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001215/0.3248, allocations: 0.721 MB / 1.187 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.3249, allocations: 122.8 kB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.325, allocations: 4 kB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.325, allocations: 4.406 kB / 1.187 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.3251, allocations: 31.86 kB / 1.187 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.3251, allocations: 11.98 kB / 1.187 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.3258, allocations: 131.5 kB / 1.187 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3259, allocations: 67.92 kB / 1.187 GB, free: 9.984 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002408/0.3261, allocations: 181.6 kB / 1.187 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.3262, allocations: 31.81 kB / 1.187 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.3268, allocations: 360.3 kB / 1.188 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3268, allocations: 0 / 1.188 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3268, allocations: 7.984 kB / 1.188 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3268, allocations: 0 / 1.188 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009088/0.3277, allocations: 0.7183 MB / 1.188 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3277, allocations: 3.938 kB / 1.188 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.3278, allocations: 23.98 kB / 1.188 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3278, allocations: 0 / 1.188 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.3279, allocations: 8 kB / 1.188 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3279, allocations: 3.938 kB / 1.188 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3279, allocations: 7.922 kB / 1.188 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.3284, allocations: 412.6 kB / 1.189 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.3284, allocations: 104.9 kB / 1.189 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.3285, allocations: 11.98 kB / 1.189 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3286, allocations: 23.88 kB / 1.189 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.3287, allocations: 23.97 kB / 1.189 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.3287, allocations: 15.98 kB / 1.189 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002505/0.329, allocations: 186 kB / 1.189 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.329, allocations: 0 / 1.189 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004039/0.3294, allocations: 84 kB / 1.189 GB, free: 7.699 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002678/0.3297, allocations: 129.4 kB / 1.189 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009324/0.3306, allocations: 0.6535 MB / 1.19 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3306, allocations: 0 / 1.19 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.3308, allocations: 144.6 kB / 1.19 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.3313, allocations: 57.34 kB / 1.19 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.3322, allocations: 0.5496 MB / 1.191 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.3326, allocations: 0.757 MB / 1.192 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.3327, allocations: 43.42 kB / 1.192 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3327, allocations: 0 / 1.192 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of Templates: time 0.007773/0.3405, allocations: 4.429 MB / 1.196 GB, free: 0.8555 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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: 10.708395607070997]