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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_10_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.00106/0.00106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 191 kB / 16.25 MB, free: 6.637 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7101 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 63.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6801, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003403/0.6835, allocations: 1.084 MB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.6862, allocations: 1.463 MB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.6864, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.6866, allocations: 19.8 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.6868, allocations: 31.72 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.6884, allocations: 435.4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008317/0.6893, allocations: 0.5349 MB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.6896, allocations: 127.7 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.69, allocations: 199.6 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.6903, allocations: 171.4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.6904, allocations: 55.94 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.6906, allocations: 59.98 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.6907, allocations: 67.81 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.691, allocations: 187.3 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.6917, allocations: 0.5085 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6917, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6917, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.6917, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 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.001192/0.6929, allocations: 0.6889 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.693, allocations: 20.02 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.84e-05/0.6931, allocations: 58.67 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.6932, allocations: 36.66 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.6946, allocations: 372 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.6947, allocations: 16.75 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.6948, allocations: 36.38 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.6954, allocations: 248.6 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.6954, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.6954, allocations: 8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6954, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.6958, allocations: 143.2 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.6975, allocations: 0.7653 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.6979, allocations: 178.4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.6983, allocations: 216.8 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.6984, allocations: 4 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.6987, allocations: 237 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/0.6988, allocations: 0 / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0009527/0.6997, allocations: 432.3 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.6998, allocations: 118.7 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.7002, allocations: 278.5 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.432e-05/0.7003, allocations: 45.7 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.7005, allocations: 152.7 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.7006, allocations: 59.25 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.701, allocations: 145.5 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7011, allocations: 338.8 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.7017, allocations: 204.7 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.7022, allocations: 319.9 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009078/0.7031, allocations: 0.5233 MB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7031, allocations: 0 / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00155/0.7047, allocations: 0.7094 MB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.7048, allocations: 126.8 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7048, allocations: 11.92 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.7049, allocations: 4 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.705, allocations: 23.92 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.705, allocations: 4 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008946/0.7059, allocations: 139.8 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.7061, allocations: 71.8 kB / 1.028 GB, free: 6.672 MB / 0.7794 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.0002928/0.7064, allocations: 177.8 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.7065, allocations: 27.62 kB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007419/0.7072, allocations: 372.5 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.7072, allocations: 4 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7072, allocations: 0 / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7073, allocations: 0 / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.7085, allocations: 0.7245 MB / 1.029 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.7085, allocations: 7.922 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.7086, allocations: 23.92 kB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.7086, allocations: 0 / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.7086, allocations: 11.94 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7086, allocations: 0 / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7086, allocations: 0 / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006895/0.7093, allocations: 419.5 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.7094, allocations: 104.8 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.7095, allocations: 15.84 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.7097, allocations: 11.98 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.7098, allocations: 19.98 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.7098, allocations: 15.98 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002455/0.7101, allocations: 186 kB / 1.03 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7101, allocations: 0 / 1.03 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006553/0.7108, allocations: 84 kB / 1.03 GB, free: 4.395 MB / 0.7794 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.0008588/0.7116, allocations: 0.9758 MB / 1.031 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.7131, allocations: 0.6973 MB / 1.032 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7131, allocations: 4 kB / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.7134, allocations: 136.3 kB / 1.032 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.7141, allocations: 62.45 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/0.7208, allocations: 3.65 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.7213, allocations: 0.7686 MB / 1.036 GB, free: 13.81 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.7215, allocations: 66.86 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.7217, allocations: 99.41 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.7217, allocations: 0 / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.7481, allocations: 7.648 MB / 1.044 GB, free: 6.199 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/0.7483, allocations: 224.4 kB / 1.044 GB, free: 5.938 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.58, allocations: 0 / 1.044 GB, free: 5.938 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches