Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001261/0.001261, allocations: 106.9 kB / 16.45 MB, free: 6.035 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.001354/0.001354, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.513/1.513, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.889/2.889, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.8606, allocations: 168.7 MB / 1.269 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001984/0.8626, allocations: 0.7232 MB / 1.269 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.8642, allocations: 1.242 MB / 1.271 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.8643, allocations: 0 / 1.271 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.8644, allocations: 15.86 kB / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.8645, allocations: 19.84 kB / 1.271 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.8652, allocations: 240.3 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.8656, allocations: 243.6 kB / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.8657, allocations: 39.88 kB / 1.271 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.8658, allocations: 103.8 kB / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.866, allocations: 83.72 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.8661, allocations: 20 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.8662, allocations: 47.95 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.8662, allocations: 31.92 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.8663, allocations: 83.64 kB / 1.272 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.8667, allocations: 237.3 kB / 1.272 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.8667, allocations: 0 / 1.272 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8667, allocations: 4 kB / 1.272 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8667, allocations: 3.938 kB / 1.272 GB, free: 2.188 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.0006927/0.8674, allocations: 0.4982 MB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.8674, allocations: 12.03 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.8674, allocations: 42.75 kB / 1.272 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.8675, allocations: 20.84 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.8681, allocations: 252.3 kB / 1.273 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.8681, allocations: 16.38 kB / 1.273 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.8682, allocations: 16.38 kB / 1.273 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.8684, allocations: 135.4 kB / 1.273 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8684, allocations: 4 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.8684, allocations: 4 kB / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8684, allocations: 7.938 kB / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.8685, allocations: 47.91 kB / 1.273 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.8692, allocations: 0.669 MB / 1.273 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/0.8693, allocations: 45.16 kB / 1.274 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.8693, allocations: 13.72 kB / 1.274 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.8693, allocations: 8 kB / 1.274 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.8695, allocations: 96.97 kB / 1.274 GB, free: 84 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.041e-06/0.8695, allocations: 0 / 1.274 GB, free: 84 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.000262/0.8698, allocations: 101.6 kB / 1.274 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.8698, allocations: 81.11 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.87, allocations: 176.5 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.87, allocations: 29.7 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.8702, allocations: 128 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.8702, allocations: 11.91 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.8703, allocations: 61.67 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8704, allocations: 322.8 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.8706, allocations: 55.97 kB / 1.275 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.8708, allocations: 116.5 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.871, allocations: 178.6 kB / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.871, allocations: 4 kB / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004444/0.8714, allocations: 276.9 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.8715, allocations: 59.41 kB / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8715, allocations: 4 kB / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8715, allocations: 4 kB / 1.275 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.356e-05/0.8715, allocations: 11.92 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8715, allocations: 4 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.8719, allocations: 71.81 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.872, allocations: 16.03 kB / 1.275 GB, free: 14.25 MB / 0.9825 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.0001317/0.8721, allocations: 137.8 kB / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.8721, allocations: 15.89 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.8722, allocations: 12.25 kB / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8722, allocations: 0 / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.8722, allocations: 0 / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.8722, allocations: 0 / 1.275 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.8723, allocations: 209.5 kB / 1.276 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8724, allocations: 4 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/0.8724, allocations: 7.875 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.8724, allocations: 4 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8724, allocations: 3.984 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.8724, allocations: 0 / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8724, allocations: 0 / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.8725, allocations: 121.9 kB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.8726, allocations: 85 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.8726, allocations: 8 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.8726, allocations: 0 / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.8727, allocations: 7.984 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.8727, allocations: 11.94 kB / 1.276 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.562e-05/0.8728, allocations: 113.7 kB / 1.276 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8728, allocations: 0 / 1.276 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002648/0.873, allocations: 43.89 kB / 1.276 GB, free: 13.38 MB / 0.9825 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.0005126/0.8735, allocations: 0.6567 MB / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.8739, allocations: 214.6 kB / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8739, allocations: 0 / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.8739, allocations: 12.5 kB / 1.277 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.8741, allocations: 34.91 kB / 1.277 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.8765, allocations: 1.939 MB / 1.279 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.8768, allocations: 0.7158 MB / 1.279 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.8768, allocations: 12.88 kB / 1.28 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.8769, allocations: 35.42 kB / 1.28 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8769, allocations: 0 / 1.28 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.9058, allocations: 3.628 MB / 1.283 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/9.063, allocations: 7.531 kB / 1.283 GB, free: 6.074 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.408585666213185]