Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_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.001436/0.001436, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.3 MB / 0.5489 GB, free: 13.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.002071, allocations: 65.64 kB / 0.6716 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 114.5 MB / 0.7835 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.004411/0.3332, allocations: 0.9776 MB / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.3363, allocations: 1.286 MB / 0.7857 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.3366, allocations: 0 / 0.7857 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.3368, allocations: 19.8 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.3371, allocations: 35.66 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3382, allocations: 250.8 kB / 0.786 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.3388, allocations: 339.3 kB / 0.7863 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.3391, allocations: 57.52 kB / 0.7864 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.3393, allocations: 123.7 kB / 0.7865 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3395, allocations: 103.6 kB / 0.7866 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.3396, allocations: 28 kB / 0.7866 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.3397, allocations: 47.92 kB / 0.7867 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3398, allocations: 43.84 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.3401, allocations: 115.5 kB / 0.7868 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.3407, allocations: 331.3 kB / 0.7871 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3407, allocations: 0 / 0.7871 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3407, allocations: 0 / 0.7871 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.547e-06/0.3407, allocations: 4 kB / 0.7871 GB, free: 9.754 MB / 0.6075 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.001325/0.342, allocations: 0.5604 MB / 0.7877 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/0.3421, allocations: 8.031 kB / 0.7877 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.3422, allocations: 42.73 kB / 0.7877 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.3423, allocations: 24.66 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.3427, allocations: 263.8 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.3428, allocations: 12.38 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.3428, allocations: 20.38 kB / 0.788 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.3434, allocations: 166.4 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3434, allocations: 3.938 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3434, allocations: 8 kB / 0.7882 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3435, allocations: 4 kB / 0.7882 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.344, allocations: 135.8 kB / 0.7883 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.3452, allocations: 0.8837 MB / 0.7892 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.3456, allocations: 161.1 kB / 0.7893 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.3459, allocations: 88.22 kB / 0.7894 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.346, allocations: 4 kB / 0.7894 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006104/0.3466, allocations: 187.4 kB / 0.7896 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3466, allocations: 0 / 0.7896 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001098/0.3477, allocations: 285.1 kB / 0.7899 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.3478, allocations: 158.6 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.3481, allocations: 207.7 kB / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.3482, allocations: 33.7 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3484, allocations: 128.2 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.3484, allocations: 31.62 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3486, allocations: 53.69 kB / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3487, allocations: 326.8 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.3491, allocations: 119.9 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.3496, allocations: 187.2 kB / 0.7911 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/0.3503, allocations: 298.9 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3503, allocations: 0 / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009895/0.3513, allocations: 404.5 kB / 0.7917 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.3514, allocations: 75.33 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3514, allocations: 0 / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.3514, allocations: 7.938 kB / 0.7918 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3516, allocations: 27.97 kB / 0.7919 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3517, allocations: 12.16 kB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.3521, allocations: 67.91 kB / 0.7919 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.3522, allocations: 19.98 kB / 0.7919 GB, free: 4.348 MB / 0.6075 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,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.3523, allocations: 134.4 kB / 0.7921 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3524, allocations: 23.81 kB / 0.7921 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.3524, allocations: 21.41 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3525, allocations: 11.88 kB / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3525, allocations: 0 / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3525, allocations: 3.984 kB / 0.7921 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.3527, allocations: 249.5 kB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3527, allocations: 4 kB / 0.7924 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3529, allocations: 31.89 kB / 0.7924 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3529, allocations: 4 kB / 0.7924 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3529, allocations: 4 kB / 0.7924 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3529, allocations: 7.938 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3529, allocations: 0 / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.3536, allocations: 264.1 kB / 0.7927 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.3536, allocations: 88.92 kB / 0.7928 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.3537, allocations: 4 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.3538, allocations: 23.91 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.3539, allocations: 19.98 kB / 0.7928 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3539, allocations: 7.984 kB / 0.7928 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001341/0.3541, allocations: 148.4 kB / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3541, allocations: 0 / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003046/0.3544, allocations: 47.94 kB / 0.793 GB, free: 3.164 MB / 0.6075 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 (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.001096/0.3555, allocations: 0.7912 MB / 0.7938 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009719/0.3565, allocations: 382.4 kB / 0.7941 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3565, allocations: 0 / 0.7941 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.3568, allocations: 96.31 kB / 0.7942 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.3573, allocations: 53.08 kB / 0.7943 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.3617, allocations: 2.543 MB / 0.7968 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3621, allocations: 0.7279 MB / 0.7975 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.3622, allocations: 21.41 kB / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3624, allocations: 55.41 kB / 0.7975 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.3624, allocations: 0 / 0.7975 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.3907, allocations: 4.962 MB / 0.8024 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.361, allocations: 7.812 kB / 0.8024 GB, free: 9.414 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)