Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001305/0.001305, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002347/0.002347, allocations: 218.8 kB / 22.24 MB, free: 5.254 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.194/3.194, allocations: 0.49 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) [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.001979/0.001979, allocations: 72.27 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3736, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002632/0.3763, allocations: 0.9912 MB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3786, allocations: 1.475 MB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.3788, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.3789, allocations: 27.67 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3791, allocations: 55.56 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.3804, allocations: 464.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.381, allocations: 0.5036 MB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.3813, allocations: 92.11 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.3815, allocations: 211.5 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.3818, allocations: 187.4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-05/0.3819, allocations: 48 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.382, allocations: 67.97 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.3821, allocations: 67.72 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.3823, allocations: 171.5 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.3831, allocations: 0.5178 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3831, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3831, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.3831, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 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.001104/0.3842, allocations: 0.6298 MB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3842, allocations: 12.03 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.406e-05/0.3843, allocations: 50.73 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3844, allocations: 40.75 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.3854, allocations: 295.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3855, allocations: 28.69 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.3856, allocations: 32.38 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.3861, allocations: 369.1 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3861, allocations: 3.984 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.3861, allocations: 12 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.3861, allocations: 8 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.3864, allocations: 139.3 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.3876, allocations: 0.6554 MB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.3879, allocations: 178.4 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.3883, allocations: 196.8 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3883, allocations: 4 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.3887, allocations: 348.4 kB / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.3887, allocations: 0 / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007648/0.3895, allocations: 427.2 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.3896, allocations: 114.8 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.3899, allocations: 293.6 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.39, allocations: 41.7 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.3901, allocations: 156.8 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.3902, allocations: 63.53 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.3905, allocations: 137.6 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.3907, allocations: 346.7 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.3912, allocations: 323.5 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.3919, allocations: 0.4904 MB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.3926, allocations: 0.5271 MB / 1.336 GB, free: 6.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3926, allocations: 0 / 1.336 GB, free: 6.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00128/0.3939, allocations: 0.8492 MB / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.394, allocations: 127.1 kB / 1.337 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.394, allocations: 8 kB / 1.337 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.394, allocations: 4 kB / 1.337 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3942, allocations: 27.86 kB / 1.337 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.3942, allocations: 11.98 kB / 1.337 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.3949, allocations: 135.5 kB / 1.337 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.395, allocations: 67.86 kB / 1.337 GB, free: 5.035 MB / 1.029 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.000259/0.3953, allocations: 177.7 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.3953, allocations: 35.86 kB / 1.338 GB, free: 4.816 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/0.3959, allocations: 352.7 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.396, allocations: 7.984 kB / 1.338 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.396, allocations: 0 / 1.338 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.396, allocations: 0 / 1.338 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009582/0.3969, allocations: 0.6695 MB / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3969, allocations: 0 / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.882e-05/0.397, allocations: 16 kB / 1.339 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.397, allocations: 7.984 kB / 1.339 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.397, allocations: 7.938 kB / 1.339 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.397, allocations: 4 kB / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.397, allocations: 0 / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.3975, allocations: 420.7 kB / 1.339 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.3976, allocations: 35.73 kB / 1.339 GB, free: 3.246 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.3976, allocations: 19.92 kB / 1.339 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3978, allocations: 8 kB / 1.339 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.3978, allocations: 23.95 kB / 1.339 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3979, allocations: 8 kB / 1.339 GB, free: 3.188 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002217/0.3981, allocations: 195.1 kB / 1.339 GB, free: 2.992 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3981, allocations: 0 / 1.339 GB, free: 2.992 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004383/0.3985, allocations: 95.88 kB / 1.34 GB, free: 2.898 MB / 1.029 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.001006/0.3995, allocations: 0.9641 MB / 1.34 GB, free: 1.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009536/0.4005, allocations: 0.7275 MB / 1.341 GB, free: 1.105 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4005, allocations: 3.938 kB / 1.341 GB, free: 1.102 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.4007, allocations: 132.3 kB / 1.341 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.4011, allocations: 66.56 kB / 1.341 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.4069, allocations: 4.111 MB / 1.345 GB, free: 12.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.4071, allocations: 160.2 kB / 1.346 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.4073, allocations: 62.92 kB / 1.346 GB, free: 12.28 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.4075, allocations: 107.4 kB / 1.346 GB, free: 12.18 MB / 1.045 GB Notification: Performance of SimCode: time 1.923e-06/0.4075, allocations: 0 / 1.346 GB, free: 12.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.4454, allocations: 8.995 MB / 1.354 GB, free: 3.438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.03, allocations: 0.7812 kB / 1.354 GB, free: 3.438 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.834457415010547]