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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 443.5 MB / 0.7287 GB, free: 14.7 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 59.91 kB / 1.056 GB, free: 2.645 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3605, allocations: 160.7 MB / 1.213 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001941/0.3625, allocations: 0.7161 MB / 1.214 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3642, allocations: 1.258 MB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.3642, allocations: 0 / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3643, allocations: 15.86 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.3644, allocations: 15.86 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.3651, allocations: 246.7 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.3654, allocations: 239.6 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3656, allocations: 35.91 kB / 1.215 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.3658, allocations: 107.8 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.3659, allocations: 83.7 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.366, allocations: 20 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.3661, allocations: 39.97 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.3661, allocations: 39.86 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.3663, allocations: 87.62 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.3666, allocations: 235.2 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3666, allocations: 0 / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3666, allocations: 4 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.3666, allocations: 0 / 1.216 GB, free: 14.47 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006648/0.3673, allocations: 0.5021 MB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3673, allocations: 12.02 kB / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.3674, allocations: 38.75 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.3675, allocations: 28.84 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.3681, allocations: 263 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3681, allocations: 12.38 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.3681, allocations: 20.31 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3683, allocations: 129.4 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3683, allocations: 0 / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3684, allocations: 7.984 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3684, allocations: 4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-05/0.3685, allocations: 47.91 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.3692, allocations: 0.6728 MB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.89e-05/0.3692, allocations: 41.2 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.3693, allocations: 17.78 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3693, allocations: 3.938 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.3695, allocations: 92.98 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.051e-06/0.3695, allocations: 0 / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002465/0.3697, allocations: 105.5 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3698, allocations: 77.11 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.37, allocations: 181 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.37, allocations: 29.7 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3701, allocations: 120 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3701, allocations: 15.89 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3703, allocations: 65.62 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3704, allocations: 326.8 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3705, allocations: 51.97 kB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.3707, allocations: 120.5 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.3709, allocations: 174.2 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3709, allocations: 4.031 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004421/0.3714, allocations: 268.9 kB / 1.219 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/0.3714, allocations: 73.58 kB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3715, allocations: 0 / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3715, allocations: 4 kB / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.039e-05/0.3715, allocations: 4.312 kB / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3715, allocations: 7.984 kB / 1.219 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.3719, allocations: 71.81 kB / 1.219 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3719, allocations: 16.09 kB / 1.219 GB, free: 10.53 MB / 0.9669 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.000129/0.372, allocations: 133.8 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3721, allocations: 19.88 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3721, allocations: 12.23 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3721, allocations: 0 / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3721, allocations: 4 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3721, allocations: 3.938 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3724, allocations: 209.5 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3724, allocations: 4 kB / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.3724, allocations: 8 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3724, allocations: 0 / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3724, allocations: 0 / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.3724, allocations: 7.984 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3724, allocations: 0 / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.3726, allocations: 109.9 kB / 1.22 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.3726, allocations: 97.05 kB / 1.22 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3726, allocations: 0 / 1.22 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.3727, allocations: 0 / 1.22 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3727, allocations: 7.938 kB / 1.22 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3727, allocations: 7.984 kB / 1.22 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001018/0.3728, allocations: 121 kB / 1.22 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3728, allocations: 0 / 1.22 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002657/0.3731, allocations: 43.83 kB / 1.22 GB, free: 9.648 MB / 0.9669 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.0006208/0.3737, allocations: 0.666 MB / 1.221 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.374, allocations: 206.6 kB / 1.221 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.374, allocations: 0 / 1.221 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.3741, allocations: 20.48 kB / 1.221 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3744, allocations: 31.86 kB / 1.221 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.3768, allocations: 1.924 MB / 1.223 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.3773, allocations: 0.7119 MB / 1.224 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.3773, allocations: 12.88 kB / 1.224 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.3774, allocations: 39.42 kB / 1.224 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.3774, allocations: 0 / 1.224 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.404, allocations: 3.631 MB / 1.227 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.563, allocations: 7.547 kB / 1.227 GB, free: 2.352 MB / 0.9669 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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: 14.852537884842604]