Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001698/0.001698, allocations: 78.09 kB / 19.76 MB, free: 2.027 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.00149/0.00149, allocations: 159.1 kB / 23.01 MB, free: 4.949 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.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.958/2.958, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [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.00242/0.00242, allocations: 59.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.00243/1.021, allocations: 1 MB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001982/1.023, allocations: 1.475 MB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/1.023, allocations: 7.031 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/1.023, allocations: 29.39 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/1.023, allocations: 44.36 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/1.024, allocations: 469 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006309/1.025, allocations: 0.503 MB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/1.025, allocations: 84.69 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/1.025, allocations: 208.6 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/1.026, allocations: 172.1 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/1.026, allocations: 48.94 kB / 1.191 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/1.026, allocations: 61.52 kB / 1.191 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/1.026, allocations: 69.47 kB / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/1.026, allocations: 168 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006964/1.027, allocations: 0.5213 MB / 1.191 GB, free: 13.44 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.027, allocations: 0 / 1.191 GB, free: 13.44 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.604e-06/1.027, allocations: 4.656 kB / 1.191 GB, free: 13.44 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.026e-06/1.027, allocations: 0 / 1.191 GB, free: 13.44 MB / 1.076 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.0008639/1.028, allocations: 0.6264 MB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.028, allocations: 9.797 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/1.028, allocations: 44.47 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000912/1.029, allocations: 285.8 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/1.029, allocations: 24.2 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/1.029, allocations: 35.28 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/1.029, allocations: 359.3 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/1.029, allocations: 5.812 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/1.029, allocations: 10.89 kB / 1.193 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/1.03, allocations: 4.438 kB / 1.193 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/1.03, allocations: 145.1 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.031, allocations: 0.6147 MB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/1.031, allocations: 187.8 kB / 1.194 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/1.032, allocations: 194.6 kB / 1.194 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/1.032, allocations: 2.156 kB / 1.194 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/1.032, allocations: 349.2 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/1.032, allocations: 1.094 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.0007492/1.033, allocations: 420.6 kB / 1.195 GB, free: 11.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/1.033, allocations: 108.6 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/1.033, allocations: 287.6 kB / 1.195 GB, free: 11.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/1.033, allocations: 39.08 kB / 1.195 GB, free: 11.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.033, allocations: 163.1 kB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/1.033, allocations: 61.81 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.034, allocations: 144.5 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/1.034, allocations: 343.6 kB / 1.196 GB, free: 10.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/1.034, allocations: 323.5 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/1.035, allocations: 0.4887 MB / 1.196 GB, free: 10.01 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/1.035, allocations: 0.5264 MB / 1.197 GB, free: 9.637 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.035, allocations: 1.25 kB / 1.197 GB, free: 9.637 MB / 1.076 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001164/1.036, allocations: 0.8502 MB / 1.198 GB, free: 9.152 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/1.036, allocations: 125.9 kB / 1.198 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.036, allocations: 3.297 kB / 1.198 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.037, allocations: 5.719 kB / 1.198 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/1.037, allocations: 28.44 kB / 1.198 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.037, allocations: 6.516 kB / 1.198 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/1.037, allocations: 131.7 kB / 1.198 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.037, allocations: 71.73 kB / 1.198 GB, free: 8.969 MB / 1.076 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.000207/1.038, allocations: 186.6 kB / 1.198 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/1.038, allocations: 28.78 kB / 1.198 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/1.038, allocations: 358.7 kB / 1.199 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.038, allocations: 7.438 kB / 1.199 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.038, allocations: 0.7969 kB / 1.199 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.038, allocations: 6.406 kB / 1.199 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/1.039, allocations: 0.6303 MB / 1.199 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.039, allocations: 1.062 kB / 1.199 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/1.039, allocations: 19.06 kB / 1.199 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.039, allocations: 1.125 kB / 1.199 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/1.039, allocations: 8.688 kB / 1.199 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.039, allocations: 0.875 kB / 1.199 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/1.039, allocations: 5.734 kB / 1.199 GB, free: 8.285 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/1.04, allocations: 425 kB / 1.2 GB, free: 8.051 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/1.04, allocations: 24.45 kB / 1.2 GB, free: 8.035 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/1.04, allocations: 12.45 kB / 1.2 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.04, allocations: 9.578 kB / 1.2 GB, free: 8.023 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/1.04, allocations: 26.64 kB / 1.2 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/1.04, allocations: 13.41 kB / 1.2 GB, free: 8.012 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002332/1.041, allocations: 186 kB / 1.2 GB, free: 7.902 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.041, allocations: 0 / 1.2 GB, free: 7.902 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004677/1.041, allocations: 90.83 kB / 1.2 GB, free: 7.887 MB / 1.076 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.0002241/1.041, allocations: 122.1 kB / 1.2 GB, free: 7.785 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001063/1.042, allocations: 0.7187 MB / 1.201 GB, free: 7.289 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.042, allocations: 0 / 1.201 GB, free: 7.289 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/1.043, allocations: 127.1 kB / 1.201 GB, free: 7.258 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/1.043, allocations: 66.2 kB / 1.201 GB, free: 7.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.044, allocations: 0.5238 MB / 1.202 GB, free: 6.926 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/1.044, allocations: 154.3 kB / 1.202 GB, free: 6.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001782/1.044, allocations: 69.84 kB / 1.202 GB, free: 6.832 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/1.044, allocations: 32.38 kB / 1.202 GB, free: 6.824 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/1.044, allocations: 0 / 1.202 GB, free: 6.824 MB / 1.076 GB Notification: Performance of Templates: time 0.01214/1.057, allocations: 5.378 MB / 1.207 GB, free: 6.164 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.374437118996866]