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.0008445/0.0008445, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008645/0.0008645, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8811/0.8811, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703/1.703, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.486e-06/3.486e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.588e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002199/0.002225, allocations: 0.9716 MB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.004248, allocations: 1.497 MB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.004367, allocations: 4 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.004519, allocations: 31.61 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.004624, allocations: 47.58 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.005717, allocations: 475 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.006242, allocations: 0.5191 MB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.006488, allocations: 84.16 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.006799, allocations: 287.6 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.007036, allocations: 159.5 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/0.007096, allocations: 48 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.732e-05/0.007193, allocations: 60 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.007261, allocations: 67.75 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.007389, allocations: 151.7 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.007814, allocations: 0.5804 MB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.007818, allocations: 4 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.794e-06/0.00782, allocations: 0 / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.007826, allocations: 0 / 1.005 GB, free: 8.543 MB / 0.9636 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.0006604/0.008487, allocations: 0.6212 MB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.00853, allocations: 16.73 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.008572, allocations: 54.73 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.008646, allocations: 40.75 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.009203, allocations: 297.6 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.00923, allocations: 28.73 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.009272, allocations: 40.31 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.009581, allocations: 357.6 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.009589, allocations: 192 / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.009608, allocations: 12.36 kB / 1.006 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.009616, allocations: 7.938 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.009766, allocations: 139.3 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.01064, allocations: 0.6594 MB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.01084, allocations: 176.6 kB / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.01101, allocations: 192.8 kB / 1.007 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.01103, allocations: 4 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.01129, allocations: 346.7 kB / 1.007 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.01129, allocations: 0 / 1.007 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.0004895/0.01178, allocations: 431.5 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.01184, allocations: 110.8 kB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.01206, allocations: 285.7 kB / 1.008 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.0121, allocations: 37.7 kB / 1.008 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.0122, allocations: 164.8 kB / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.01224, allocations: 67.53 kB / 1.008 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.01238, allocations: 133.6 kB / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.01248, allocations: 346.8 kB / 1.009 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.01276, allocations: 319.5 kB / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.0131, allocations: 0.4946 MB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.01351, allocations: 0.5232 MB / 1.01 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01351, allocations: 0 / 1.01 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007098/0.01422, allocations: 0.8565 MB / 1.011 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/0.01431, allocations: 122.8 kB / 1.011 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.01432, allocations: 4 kB / 1.011 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.01434, allocations: 4 kB / 1.011 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.01441, allocations: 28.27 kB / 1.011 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.01442, allocations: 8 kB / 1.011 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.01477, allocations: 127.6 kB / 1.011 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.01484, allocations: 67.91 kB / 1.011 GB, free: 0.957 MB / 0.9636 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.0001813/0.01502, allocations: 201.6 kB / 1.012 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.01505, allocations: 27.81 kB / 1.012 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.01549, allocations: 352.4 kB / 1.012 GB, free: 380 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.01549, allocations: 4 kB / 1.012 GB, free: 376 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.0155, allocations: 4 kB / 1.012 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01551, allocations: 3.984 kB / 1.012 GB, free: 368 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.01622, allocations: 0.6703 MB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01622, allocations: 0 / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.01628, allocations: 15.98 kB / 1.013 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01629, allocations: 0 / 1.013 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.0163, allocations: 8 kB / 1.013 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.01631, allocations: 15.91 kB / 1.013 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01631, allocations: 4 kB / 1.013 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.01665, allocations: 417.5 kB / 1.013 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.01668, allocations: 31.75 kB / 1.013 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.0167, allocations: 8 kB / 1.013 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.01678, allocations: 11.98 kB / 1.013 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.01684, allocations: 27.89 kB / 1.013 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.01685, allocations: 11.94 kB / 1.013 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001287/0.01698, allocations: 191.1 kB / 1.013 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01698, allocations: 0 / 1.013 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002878/0.01727, allocations: 87.95 kB / 1.013 GB, free: 14.8 MB / 0.9792 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.0006015/0.01787, allocations: 0.9718 MB / 1.014 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006101/0.01848, allocations: 0.7232 MB / 1.015 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01848, allocations: 4 kB / 1.015 GB, free: 13 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.0186, allocations: 133.1 kB / 1.015 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.01892, allocations: 70.31 kB / 1.015 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.02223, allocations: 4.112 MB / 1.019 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.02233, allocations: 155.9 kB / 1.019 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.02245, allocations: 70.91 kB / 1.019 GB, free: 8.176 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/0.02254, allocations: 104.5 kB / 1.02 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of SimCode: time 1.092e-06/0.02254, allocations: 0 / 1.02 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.04292, allocations: 9.035 MB / 1.028 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.862, allocations: 8.406 kB / 1.028 GB, free: 15.28 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.80070485919714]