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.001337/0.001337, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002201/0.002201, allocations: 220.5 kB / 22.25 MB, free: 5.215 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.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 3.346/3.346, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_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.002052/0.002052, allocations: 68.28 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3406, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002618/0.3432, allocations: 1.032 MB / 1.354 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.3455, allocations: 1.506 MB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.3457, allocations: 4 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3459, allocations: 23.67 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.346, allocations: 51.58 kB / 1.355 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3473, allocations: 469.5 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008147/0.3481, allocations: 0.5076 MB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.3484, allocations: 92.16 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.3488, allocations: 203.6 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.3493, allocations: 199.3 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.3495, allocations: 48 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.3496, allocations: 63.98 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3497, allocations: 67.81 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.35, allocations: 195.3 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007448/0.3508, allocations: 0.5139 MB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3508, allocations: 3.938 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3508, allocations: 0 / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.3508, allocations: 3.938 kB / 1.358 GB, free: 3.496 MB / 1.045 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.001279/0.3521, allocations: 0.6329 MB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3521, allocations: 8.031 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.315e-05/0.3522, allocations: 54.73 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.3524, allocations: 44.73 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000985/0.3533, allocations: 290.5 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.3534, allocations: 24.75 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.3535, allocations: 32.36 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.3539, allocations: 236.6 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3539, allocations: 0 / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.3539, allocations: 16 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3539, allocations: 7.938 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.3542, allocations: 143.2 kB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.3558, allocations: 0.7256 MB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3561, allocations: 174.4 kB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.3564, allocations: 199.3 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3564, allocations: 4 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.3567, allocations: 253.3 kB / 1.36 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of pre-optimization done (n=28): time 1.634e-06/0.3567, allocations: 0 / 1.36 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of matching and sorting (n=28): time 0.0008162/0.3576, allocations: 427.2 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.3577, allocations: 106.8 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.3581, allocations: 281.7 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/0.3582, allocations: 41.69 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3584, allocations: 156.8 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.3584, allocations: 63.52 kB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.3587, allocations: 149.5 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3589, allocations: 342.8 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.3593, allocations: 200.7 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.3599, allocations: 323.9 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.3606, allocations: 0.5271 MB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3606, allocations: 0 / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001384/0.362, allocations: 0.7287 MB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.3622, allocations: 126.8 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.3622, allocations: 4 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/0.3622, allocations: 4 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3623, allocations: 23.92 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.3624, allocations: 8 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/0.3631, allocations: 132 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.3633, allocations: 79.72 kB / 1.364 GB, free: 12.59 MB / 1.061 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.0003407/0.3636, allocations: 182.4 kB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.3637, allocations: 35.8 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/0.3646, allocations: 360.4 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3646, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3646, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3646, allocations: 4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.3659, allocations: 0.6779 MB / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3659, allocations: 0 / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.366, allocations: 23.92 kB / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.366, allocations: 0 / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.366, allocations: 11.94 kB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.366, allocations: 4 kB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.366, allocations: 0 / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.3667, allocations: 421 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.3667, allocations: 35.73 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.3668, allocations: 7.938 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3669, allocations: 11.98 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.367, allocations: 19.97 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.367, allocations: 15.98 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002206/0.3672, allocations: 195 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3672, allocations: 0 / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005453/0.3678, allocations: 88 kB / 1.366 GB, free: 10.45 MB / 1.061 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.001045/0.3688, allocations: 0.9679 MB / 1.367 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008893/0.3697, allocations: 0.6032 MB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3697, allocations: 0 / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3699, allocations: 119.9 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.3704, allocations: 73.36 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.3757, allocations: 3.616 MB / 1.371 GB, free: 4.809 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.3761, allocations: 0.7688 MB / 1.372 GB, free: 4.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.3763, allocations: 58.92 kB / 1.372 GB, free: 3.957 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.3765, allocations: 103.4 kB / 1.372 GB, free: 3.855 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.3765, allocations: 0 / 1.372 GB, free: 3.855 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05737/0.4338, allocations: 8.171 MB / 1.38 GB, free: 11.88 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.06, allocations: 1.312 kB / 1.38 GB, free: 11.88 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 840.0] 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: 18.933195817051455]