Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001235/0.001235, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001482/0.001482, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.000378, allocations: 11.98 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7954, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001132/0.7965, allocations: 0.659 MB / 0.9542 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.798, allocations: 1.235 MB / 0.9554 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.7981, allocations: 1.5 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.414e-05/0.7982, allocations: 15.86 kB / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.156e-05/0.7983, allocations: 35.28 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.7989, allocations: 207 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.7991, allocations: 167.9 kB / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.7993, allocations: 40.28 kB / 0.9559 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.7994, allocations: 95.64 kB / 0.956 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.7996, allocations: 96.5 kB / 0.9561 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.7996, allocations: 12.34 kB / 0.9561 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.7997, allocations: 25.83 kB / 0.9561 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.7998, allocations: 29.12 kB / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.7998, allocations: 57.48 kB / 0.9562 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.8001, allocations: 246.3 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8001, allocations: 0 / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8001, allocations: 0 / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8001, allocations: 0 / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007637/0.8009, allocations: 0.5404 MB / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8009, allocations: 9.125 kB / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.801, allocations: 40.89 kB / 0.957 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.8011, allocations: 26.14 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.8014, allocations: 264.2 kB / 0.9573 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.8014, allocations: 11.28 kB / 0.9573 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.8014, allocations: 16.62 kB / 0.9573 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.8019, allocations: 190.2 kB / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8019, allocations: 0 / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.8019, allocations: 2.188 kB / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.8019, allocations: 1.438 kB / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.8024, allocations: 176.7 kB / 0.9577 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009609/0.8034, allocations: 0.8922 MB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.8037, allocations: 176.6 kB / 0.9587 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.8037, allocations: 0 / 0.9587 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.8041, allocations: 198.3 kB / 0.9589 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.8041, allocations: 0 / 0.9589 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0009222/0.8051, allocations: 332.6 kB / 0.9592 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.8051, allocations: 169.1 kB / 0.9594 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.8053, allocations: 191.6 kB / 0.9596 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.8054, allocations: 42.22 kB / 0.9596 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.8054, allocations: 130.7 kB / 0.9597 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.8055, allocations: 28.94 kB / 0.9597 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.8055, allocations: 3.688 kB / 0.9598 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.8056, allocations: 326.6 kB / 0.9601 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.8059, allocations: 139.2 kB / 0.9602 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.8063, allocations: 191.6 kB / 0.9604 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.8067, allocations: 196.3 kB / 0.9606 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8067, allocations: 0.9375 kB / 0.9606 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009042/0.8076, allocations: 445.3 kB / 0.961 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.8077, allocations: 73.05 kB / 0.9611 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8077, allocations: 2.781 kB / 0.9611 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8077, allocations: 3.5 kB / 0.9611 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.8079, allocations: 32.97 kB / 0.9611 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.8079, allocations: 11.19 kB / 0.9611 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.8084, allocations: 113.8 kB / 0.9612 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.8084, allocations: 10.78 kB / 0.9612 GB, free: 1.926 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.8085, allocations: 145.5 kB / 0.9614 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.8086, allocations: 20.81 kB / 0.9614 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.8086, allocations: 21.14 kB / 0.9614 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8086, allocations: 3.312 kB / 0.9614 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.8087, allocations: 5.438 kB / 0.9614 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.8087, allocations: 5.266 kB / 0.9614 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.8089, allocations: 241.6 kB / 0.9617 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8089, allocations: 4.766 kB / 0.9617 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.809, allocations: 37.47 kB / 0.9617 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.809, allocations: 5.906 kB / 0.9617 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.8091, allocations: 2.031 kB / 0.9617 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8091, allocations: 6.156 kB / 0.9617 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8091, allocations: 1.188 kB / 0.9617 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.8097, allocations: 335.4 kB / 0.962 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.8097, allocations: 102.2 kB / 0.9621 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.8098, allocations: 1.344 kB / 0.9621 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.8099, allocations: 31.22 kB / 0.9622 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.81, allocations: 14.45 kB / 0.9622 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.81, allocations: 7.422 kB / 0.9622 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001025/0.8101, allocations: 147.7 kB / 0.9623 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8101, allocations: 0 / 0.9623 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002973/0.8104, allocations: 43.84 kB / 0.9624 GB, free: 0.9766 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009477/0.8114, allocations: 1.15 MB / 0.9635 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008823/0.8123, allocations: 414.2 kB / 0.9639 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8123, allocations: 0 / 0.9639 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.8126, allocations: 105.7 kB / 0.964 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.8129, allocations: 43.72 kB / 0.964 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.8145, allocations: 1.816 MB / 0.9658 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.8149, allocations: 0.7327 MB / 0.9665 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.932e-05/0.815, allocations: 27.41 kB / 0.9665 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.8151, allocations: 46.95 kB / 0.9666 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8151, allocations: 0 / 0.9666 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.833, allocations: 4.457 MB / 0.9709 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/0.8333, allocations: 197.5 kB / 0.9711 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.565, allocations: 3.938 kB / 0.9711 GB, free: 10.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat does not exist to compare? outputFormat=mat