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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00942/0.00942, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001848/0.001848, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 59.91 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3103, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002681/0.3131, allocations: 1.022 MB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.3153, allocations: 1.471 MB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.3155, allocations: 4 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.3157, allocations: 23.67 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3159, allocations: 47.64 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3171, allocations: 475 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007062/0.3178, allocations: 0.5388 MB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.3181, allocations: 128 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.3185, allocations: 199.6 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.3188, allocations: 191.4 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.3189, allocations: 51.94 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.3191, allocations: 63.98 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.3192, allocations: 67.83 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.3194, allocations: 195.2 kB / 1.212 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.32, allocations: 0.514 MB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.32, allocations: 0 / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.32, allocations: 0 / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.32, allocations: 0 / 1.212 GB, free: 5.156 MB / 0.9669 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.001159/0.3212, allocations: 0.6928 MB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3213, allocations: 8.625 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.238e-05/0.3213, allocations: 58.72 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.3215, allocations: 40.56 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3225, allocations: 360.1 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.3226, allocations: 24.75 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-05/0.3226, allocations: 32.36 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.323, allocations: 236.8 kB / 1.214 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3231, allocations: 4 kB / 1.214 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.3231, allocations: 11.94 kB / 1.214 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3231, allocations: 4 kB / 1.214 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.3234, allocations: 147.3 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3247, allocations: 0.7691 MB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3249, allocations: 185 kB / 1.215 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.3252, allocations: 214.4 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3252, allocations: 4 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.3255, allocations: 239.8 kB / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.3256, allocations: 0 / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.000674/0.3262, allocations: 419.8 kB / 1.215 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.3263, allocations: 118.8 kB / 1.216 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.3266, allocations: 278.4 kB / 1.216 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.3267, allocations: 45.69 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3268, allocations: 152.7 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.3269, allocations: 67.19 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.3271, allocations: 137.6 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3272, allocations: 338.8 kB / 1.217 GB, free: 368 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.3276, allocations: 208.7 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.328, allocations: 312 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.3287, allocations: 0.5271 MB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3287, allocations: 0 / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001056/0.3297, allocations: 0.7208 MB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.86e-05/0.3298, allocations: 130.8 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3298, allocations: 4 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3299, allocations: 4 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.3299, allocations: 19.92 kB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.33, allocations: 7.938 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.3306, allocations: 135.8 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.3307, allocations: 71.86 kB / 1.219 GB, free: 14.07 MB / 0.9825 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.0001964/0.3309, allocations: 193.6 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3309, allocations: 23.72 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.3315, allocations: 352.8 kB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3315, allocations: 4 kB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3315, allocations: 0 / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.3315, allocations: 0 / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008804/0.3324, allocations: 0.7139 MB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3324, allocations: 0 / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.3325, allocations: 23.92 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3325, allocations: 4 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3325, allocations: 7.938 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3325, allocations: 11.94 kB / 1.22 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3325, allocations: 0 / 1.22 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.333, allocations: 416.1 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.3331, allocations: 104.7 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.3331, allocations: 11.94 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3332, allocations: 15.98 kB / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.3333, allocations: 19.97 kB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.3333, allocations: 16 kB / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001627/0.3335, allocations: 186 kB / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3335, allocations: 0 / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003932/0.3339, allocations: 99.83 kB / 1.221 GB, free: 11.79 MB / 0.9825 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.0007559/0.3347, allocations: 0.9725 MB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008187/0.3355, allocations: 0.6574 MB / 1.222 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3355, allocations: 0 / 1.222 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.3357, allocations: 139.8 kB / 1.222 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3361, allocations: 81.17 kB / 1.223 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.3405, allocations: 3.583 MB / 1.226 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3408, allocations: 0.7648 MB / 1.227 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.341, allocations: 66.91 kB / 1.227 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3411, allocations: 95.41 kB / 1.227 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3411, allocations: 0 / 1.227 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.3676, allocations: 7.83 MB / 1.235 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.26, allocations: 12.44 kB / 1.235 GB, free: 13.5 MB / 0.9981 GB (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 --timeout=50 --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) 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) Reference file matches