Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001498/0.001498, allocations: 103 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.001657/0.001657, 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.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.815/2.815, allocations: 476.7 MB / 0.7611 GB, free: 15.69 MB / 0.6075 GB " [Timeout remaining time 177] 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.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.91 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002022/1.011, allocations: 0.8818 MB / 1.27 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001483/1.012, allocations: 1.295 MB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/1.013, allocations: 5.875 kB / 1.271 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/1.013, allocations: 15.97 kB / 1.271 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/1.013, allocations: 32.66 kB / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00072/1.013, allocations: 270.7 kB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003957/1.014, allocations: 325.8 kB / 1.271 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/1.014, allocations: 53.45 kB / 1.272 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/1.014, allocations: 129.4 kB / 1.272 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/1.014, allocations: 109.7 kB / 1.272 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/1.014, allocations: 29.81 kB / 1.272 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/1.014, allocations: 52.19 kB / 1.272 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/1.015, allocations: 46.19 kB / 1.272 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/1.015, allocations: 127.7 kB / 1.272 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/1.015, allocations: 346.9 kB / 1.272 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.015, allocations: 0.7812 kB / 1.272 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.015, allocations: 0 / 1.272 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.015, allocations: 0 / 1.272 GB, free: 5.535 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000585/1.016, allocations: 0.5526 MB / 1.273 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/1.016, allocations: 9.156 kB / 1.273 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/1.016, allocations: 49.2 kB / 1.273 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/1.016, allocations: 31.23 kB / 1.273 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/1.016, allocations: 298.5 kB / 1.273 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/1.016, allocations: 13.2 kB / 1.273 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/1.016, allocations: 20.05 kB / 1.273 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/1.017, allocations: 154.8 kB / 1.273 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.017, allocations: 4 kB / 1.273 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.017, allocations: 2.062 kB / 1.273 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/1.017, allocations: 2.156 kB / 1.273 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/1.017, allocations: 67.56 kB / 1.274 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/1.018, allocations: 0.7542 MB / 1.274 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/1.018, allocations: 57.83 kB / 1.274 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/1.018, allocations: 22.69 kB / 1.274 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/1.018, allocations: 0.7812 kB / 1.274 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/1.018, allocations: 110.7 kB / 1.274 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/1.018, allocations: 0.7188 kB / 1.274 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0002803/1.018, allocations: 120.2 kB / 1.275 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.018, allocations: 83.55 kB / 1.275 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/1.018, allocations: 213.4 kB / 1.275 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/1.018, allocations: 34.94 kB / 1.275 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/1.018, allocations: 152.6 kB / 1.275 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/1.018, allocations: 15.31 kB / 1.275 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/1.019, allocations: 65.84 kB / 1.275 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/1.019, allocations: 331.5 kB / 1.275 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/1.019, allocations: 67.94 kB / 1.275 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/1.019, allocations: 130.2 kB / 1.276 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/1.019, allocations: 197.5 kB / 1.276 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.019, allocations: 1 kB / 1.276 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004506/1.02, allocations: 299.6 kB / 1.276 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/1.02, allocations: 67.34 kB / 1.276 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.02, allocations: 6.422 kB / 1.276 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.02, allocations: 2.906 kB / 1.276 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/1.02, allocations: 9.766 kB / 1.276 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.02, allocations: 3.344 kB / 1.276 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/1.02, allocations: 80.66 kB / 1.276 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/1.02, allocations: 16.98 kB / 1.276 GB, free: 2.363 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001303/1.02, allocations: 142.8 kB / 1.276 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/1.02, allocations: 15.98 kB / 1.276 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/1.02, allocations: 23.97 kB / 1.276 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.02, allocations: 5.547 kB / 1.276 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.02, allocations: 2.719 kB / 1.276 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.02, allocations: 0 / 1.276 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/1.02, allocations: 229.2 kB / 1.277 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.02, allocations: 0 / 1.277 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/1.021, allocations: 5.109 kB / 1.277 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/1.021, allocations: 0.9688 kB / 1.277 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/1.021, allocations: 6.297 kB / 1.277 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.021, allocations: 5.609 kB / 1.277 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.021, allocations: 0.8125 kB / 1.277 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/1.021, allocations: 137.8 kB / 1.277 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/1.021, allocations: 93.89 kB / 1.277 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/1.021, allocations: 6.328 kB / 1.277 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/1.021, allocations: 5.062 kB / 1.277 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/1.021, allocations: 3.688 kB / 1.277 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/1.021, allocations: 3.688 kB / 1.277 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001082/1.021, allocations: 155.5 kB / 1.277 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.021, allocations: 0 / 1.277 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002884/1.021, allocations: 49.11 kB / 1.277 GB, free: 1.656 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003613/1.022, allocations: 0.6746 MB / 1.278 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003317/1.022, allocations: 237.6 kB / 1.278 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.022, allocations: 0 / 1.278 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.459e-05/1.022, allocations: 28.47 kB / 1.278 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/1.022, allocations: 39.16 kB / 1.278 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/1.025, allocations: 2.184 MB / 1.28 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/1.025, allocations: 0.7265 MB / 1.281 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.252e-05/1.025, allocations: 20.19 kB / 1.281 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/1.025, allocations: 56.11 kB / 1.281 GB, free: 14.42 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.025, allocations: 0 / 1.281 GB, free: 14.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/1.055, allocations: 4.41 MB / 1.285 GB, free: 13.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/9.418, allocations: 9.312 kB / 1.285 GB, free: 13.84 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.601224263664335]