Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 195.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6783, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002404/0.6807, allocations: 1.024 MB / 0.9507 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.6827, allocations: 1.456 MB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.6828, allocations: 3.031 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.6829, allocations: 23.67 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.683, allocations: 44.38 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009973/0.684, allocations: 469.4 kB / 0.9527 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.6845, allocations: 0.528 MB / 0.9532 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.6847, allocations: 134.5 kB / 0.9533 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.6849, allocations: 206.2 kB / 0.9535 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.6851, allocations: 162.5 kB / 0.9537 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.6852, allocations: 48.97 kB / 0.9537 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.6853, allocations: 67.64 kB / 0.9538 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.6854, allocations: 66.17 kB / 0.9538 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.6856, allocations: 196.6 kB / 0.954 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.686, allocations: 0.4995 MB / 0.9545 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.686, allocations: 0 / 0.9545 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.686, allocations: 1.219 kB / 0.9545 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.6861, allocations: 0 / 0.9545 GB, free: 5.629 MB / 0.7169 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.0007088/0.6868, allocations: 0.697 MB / 0.9552 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.6868, allocations: 13.59 kB / 0.9552 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.6869, allocations: 54.95 kB / 0.9553 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.687, allocations: 35.84 kB / 0.9553 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008687/0.6879, allocations: 374.1 kB / 0.9557 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.6879, allocations: 21.06 kB / 0.9557 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/0.688, allocations: 39.08 kB / 0.9557 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.6883, allocations: 232.8 kB / 0.9559 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6883, allocations: 0 / 0.9559 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.6883, allocations: 6.875 kB / 0.9559 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6883, allocations: 3.719 kB / 0.9559 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.6885, allocations: 145 kB / 0.9561 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.6895, allocations: 0.7652 MB / 0.9568 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.6897, allocations: 191.5 kB / 0.957 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.69, allocations: 212.7 kB / 0.9572 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.69, allocations: 1.75 kB / 0.9572 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.6903, allocations: 251.9 kB / 0.9575 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.313e-06/0.6903, allocations: 0 / 0.9575 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006055/0.6909, allocations: 418.5 kB / 0.9579 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6909, allocations: 119.3 kB / 0.958 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.6912, allocations: 289.7 kB / 0.9582 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.6912, allocations: 42.09 kB / 0.9583 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.6913, allocations: 155.2 kB / 0.9584 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.6914, allocations: 62.06 kB / 0.9585 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.6916, allocations: 140 kB / 0.9586 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.6916, allocations: 338 kB / 0.959 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.692, allocations: 203.2 kB / 0.9591 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.6923, allocations: 321 kB / 0.9595 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.6928, allocations: 0.5218 MB / 0.96 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.6928, allocations: 5.125 kB / 0.96 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009273/0.6938, allocations: 0.7096 MB / 0.9607 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/0.6938, allocations: 127.9 kB / 0.9608 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6939, allocations: 4.094 kB / 0.9608 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6939, allocations: 6.031 kB / 0.9608 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.694, allocations: 28.27 kB / 0.9608 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.694, allocations: 8.281 kB / 0.9608 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000642/0.6946, allocations: 132.6 kB / 0.961 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.6947, allocations: 69.08 kB / 0.961 GB, free: 0.8203 MB / 0.7169 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.0001704/0.6949, allocations: 185.9 kB / 0.9612 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.695, allocations: 29.38 kB / 0.9612 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.6954, allocations: 357.2 kB / 0.9616 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6955, allocations: 7.375 kB / 0.9616 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6955, allocations: 3.938 kB / 0.9616 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6955, allocations: 0 / 0.9616 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.6963, allocations: 0.7224 MB / 0.9623 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6963, allocations: 1.344 kB / 0.9623 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/0.6963, allocations: 14.89 kB / 0.9623 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6964, allocations: 5.062 kB / 0.9623 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.6964, allocations: 7.969 kB / 0.9623 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6964, allocations: 4.812 kB / 0.9623 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6964, allocations: 4 kB / 0.9623 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.6969, allocations: 411.7 kB / 0.9627 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.6969, allocations: 105 kB / 0.9628 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.697, allocations: 10.36 kB / 0.9628 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6971, allocations: 11.8 kB / 0.9628 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.6972, allocations: 26.62 kB / 0.9629 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.6972, allocations: 12.44 kB / 0.9629 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001673/0.6974, allocations: 194.7 kB / 0.9631 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6974, allocations: 0 / 0.9631 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003922/0.6978, allocations: 89.61 kB / 0.9631 GB, free: 15.34 MB / 0.7325 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.0007475/0.6985, allocations: 0.9872 MB / 0.9641 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008638/0.6994, allocations: 0.686 MB / 0.9648 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6994, allocations: 0 / 0.9648 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.6996, allocations: 146.2 kB / 0.9649 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.7001, allocations: 61.19 kB / 0.965 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.7044, allocations: 3.585 MB / 0.9685 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.7047, allocations: 0.767 MB / 0.9692 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.7049, allocations: 70.31 kB / 0.9693 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.705, allocations: 102.8 kB / 0.9694 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.705, allocations: 0 / 0.9694 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.732, allocations: 7.737 MB / 0.9769 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/8.344, allocations: 15.22 kB / 0.977 GB, free: 5.285 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches