Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BooleanExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.0008989/0.0008989, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005891/0.005891, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003269, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6337, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001017/0.6347, allocations: 448 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.6367, allocations: 1.257 MB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.6367, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.6368, allocations: 7.875 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.6369, allocations: 11.92 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006916/0.6376, allocations: 226.5 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.6379, allocations: 223.6 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.638, allocations: 31.97 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.6382, allocations: 99.73 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.6384, allocations: 83.77 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.6385, allocations: 8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.6386, allocations: 23.98 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.6386, allocations: 27.91 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.6387, allocations: 101.3 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.639, allocations: 201.6 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.639, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.639, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.639, allocations: 0 / 1.026 GB, free: 13.16 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005013/0.6395, allocations: 470.4 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6395, allocations: 8.031 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.6396, allocations: 38.75 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.6397, allocations: 24.73 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.6402, allocations: 264 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.6403, allocations: 12.38 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.6404, allocations: 16.38 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.6406, allocations: 137.3 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.6406, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.6406, allocations: 4 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6406, allocations: 4 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.6407, allocations: 51.91 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.6414, allocations: 0.661 MB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.6415, allocations: 49.14 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.6415, allocations: 21.78 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.6415, allocations: 3.938 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.6417, allocations: 85.09 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/0.6417, allocations: 7.938 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003198/0.642, allocations: 105.5 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.6421, allocations: 81.05 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.6423, allocations: 176 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.6423, allocations: 33.7 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.6424, allocations: 115.9 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.6425, allocations: 11.81 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.6425, allocations: 33.7 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6426, allocations: 318.8 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.6428, allocations: 55.97 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.6429, allocations: 110.8 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.6431, allocations: 178.1 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6431, allocations: 0 / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004102/0.6435, allocations: 260.9 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/0.6436, allocations: 75.39 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6436, allocations: 0 / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6436, allocations: 4 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.006e-05/0.6437, allocations: 7.938 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6437, allocations: 3.984 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.644, allocations: 75.8 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.6441, allocations: 15.98 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001306/0.6442, allocations: 141.6 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.6442, allocations: 15.84 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.6443, allocations: 12.23 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6443, allocations: 4 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6443, allocations: 0 / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6443, allocations: 0 / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.6445, allocations: 209.6 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6445, allocations: 0 / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-06/0.6445, allocations: 0 / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.6445, allocations: 0 / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6445, allocations: 4 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6445, allocations: 0 / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6445, allocations: 0 / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.6447, allocations: 129.8 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.6447, allocations: 84.92 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.6448, allocations: 7.984 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.6448, allocations: 384 / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.6448, allocations: 4 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.6448, allocations: 3.984 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.933e-05/0.6449, allocations: 123.2 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6449, allocations: 0 / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002516/0.6452, allocations: 39.94 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005757/0.6458, allocations: 0.6638 MB / 1.031 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.6461, allocations: 238.7 kB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6461, allocations: 0 / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.6461, allocations: 23.92 kB / 1.031 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.6464, allocations: 25.39 kB / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.6485, allocations: 1.944 MB / 1.033 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.6488, allocations: 0.708 MB / 1.033 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.928e-05/0.6489, allocations: 12.88 kB / 1.033 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.6489, allocations: 39.36 kB / 1.033 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.649, allocations: 0 / 1.033 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.6631, allocations: 3.155 MB / 1.037 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.6634, allocations: 220.2 kB / 1.037 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.421, allocations: 1.969 kB / 1.037 GB, free: 1.363 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches