Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00169/0.00169, allocations: 107.8 kB / 16.45 MB, free: 6.035 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.001978/0.001978, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.948/2.948, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 67.89 kB / 1.104 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8947/0.8973, allocations: 168.7 MB / 1.269 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002863/0.9002, allocations: 1.037 MB / 1.27 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.9029, allocations: 1.456 MB / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.9031, allocations: 4 kB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.9033, allocations: 23.67 kB / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.9034, allocations: 59.56 kB / 1.271 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.9047, allocations: 473.2 kB / 1.272 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007988/0.9055, allocations: 0.5036 MB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.9058, allocations: 115.6 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.9062, allocations: 199.6 kB / 1.273 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.9066, allocations: 195.3 kB / 1.273 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.9067, allocations: 48 kB / 1.273 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.9069, allocations: 67.92 kB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.907, allocations: 67.77 kB / 1.273 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.9073, allocations: 187.3 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007285/0.908, allocations: 0.5121 MB / 1.274 GB, free: 288 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.908, allocations: 4 kB / 1.274 GB, free: 284 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.908, allocations: 0 / 1.274 GB, free: 284 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.908, allocations: 4 kB / 1.274 GB, free: 280 kB / 0.9669 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.00129/0.9093, allocations: 0.7003 MB / 1.274 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.9094, allocations: 8.031 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.765e-05/0.9095, allocations: 66.59 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.9096, allocations: 40.75 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.9107, allocations: 360.3 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.9107, allocations: 24.75 kB / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.9108, allocations: 32.36 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.9113, allocations: 236.9 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.9113, allocations: 0 / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.9113, allocations: 12 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.9113, allocations: 4 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.9116, allocations: 143 kB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.9133, allocations: 0.7694 MB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.9136, allocations: 177.2 kB / 1.276 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.9139, allocations: 196.7 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.914, allocations: 0 / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.9143, allocations: 248.9 kB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.313e-06/0.9143, allocations: 0 / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0007944/0.9151, allocations: 427.1 kB / 1.277 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.9152, allocations: 106.8 kB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.9157, allocations: 286.6 kB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.9157, allocations: 41.69 kB / 1.277 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.9159, allocations: 156.9 kB / 1.277 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.916, allocations: 71.47 kB / 1.278 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.9162, allocations: 137.6 kB / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.9164, allocations: 342.8 kB / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.9168, allocations: 200.7 kB / 1.278 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.9173, allocations: 319.9 kB / 1.278 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.9181, allocations: 0.5271 MB / 1.279 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.9181, allocations: 0 / 1.279 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00128/0.9193, allocations: 0.725 MB / 1.28 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.9195, allocations: 126.8 kB / 1.28 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.9195, allocations: 4 kB / 1.28 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.9195, allocations: 11.98 kB / 1.28 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.9196, allocations: 31.8 kB / 1.28 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.9196, allocations: 4 kB / 1.28 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.9203, allocations: 127.9 kB / 1.28 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.9204, allocations: 75.8 kB / 1.28 GB, free: 9.168 MB / 0.9825 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.0002663/0.9207, allocations: 190.2 kB / 1.28 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.9207, allocations: 27.81 kB / 1.28 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006629/0.9214, allocations: 360.5 kB / 1.281 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9214, allocations: 4 kB / 1.281 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9214, allocations: 0 / 1.281 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9214, allocations: 4 kB / 1.281 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.9226, allocations: 0.7134 MB / 1.281 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.9226, allocations: 0 / 1.281 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.9226, allocations: 23.92 kB / 1.281 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.9226, allocations: 4 kB / 1.281 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.9227, allocations: 7.938 kB / 1.281 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.9227, allocations: 4 kB / 1.281 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.9227, allocations: 7.984 kB / 1.281 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.9232, allocations: 416.9 kB / 1.282 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.9234, allocations: 104.9 kB / 1.282 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.9234, allocations: 11.94 kB / 1.282 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.9235, allocations: 7.984 kB / 1.282 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.9236, allocations: 23.97 kB / 1.282 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.9236, allocations: 12 kB / 1.282 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002088/0.9238, allocations: 186 kB / 1.282 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9238, allocations: 4 kB / 1.282 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004527/0.9243, allocations: 95.92 kB / 1.282 GB, free: 6.891 MB / 0.9825 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.001038/0.9253, allocations: 0.972 MB / 1.283 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009674/0.9263, allocations: 0.5993 MB / 1.284 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9263, allocations: 0 / 1.284 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.9265, allocations: 128.4 kB / 1.284 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.9269, allocations: 67.3 kB / 1.284 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.9322, allocations: 3.616 MB / 1.287 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.9328, allocations: 0.7609 MB / 1.288 GB, free: 476 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.933, allocations: 74.89 kB / 1.288 GB, free: 404 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.9332, allocations: 99.41 kB / 1.288 GB, free: 304 kB / 0.9825 GB Notification: Performance of SimCode: time 1.203e-06/0.9332, allocations: 0 / 1.288 GB, free: 304 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.9698, allocations: 7.848 MB / 1.296 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/9.546, allocations: 6.172 kB / 1.296 GB, free: 8.613 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.901283611077815]