Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.001075/0.001075, allocations: 99.86 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.001229/0.001229, 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.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.42/2.42, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7726/0.773, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001152/0.7742, allocations: 0.7271 MB / 0.9543 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.7756, allocations: 1.245 MB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.7756, allocations: 5.969 kB / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.304e-05/0.7757, allocations: 9.078 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.355e-05/0.7758, allocations: 37.69 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.7764, allocations: 230.5 kB / 0.9558 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.7766, allocations: 169.5 kB / 0.956 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.7768, allocations: 57.19 kB / 0.956 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.7769, allocations: 102.2 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.7771, allocations: 94.44 kB / 0.9562 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.7771, allocations: 12.94 kB / 0.9562 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.7772, allocations: 26.11 kB / 0.9562 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.7773, allocations: 33.44 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.7773, allocations: 54.7 kB / 0.9563 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.7776, allocations: 269.2 kB / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.7776, allocations: 0 / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.025e-06/0.7776, allocations: 1.188 kB / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.7776, allocations: 0 / 0.9566 GB, free: 5.809 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007615/0.7784, allocations: 0.6065 MB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.7784, allocations: 8.812 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.7785, allocations: 39.06 kB / 0.9572 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.7786, allocations: 34.22 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.7788, allocations: 249 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.7789, allocations: 20.16 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.7789, allocations: 22.69 kB / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.7794, allocations: 200.5 kB / 0.9577 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7794, allocations: 4 kB / 0.9577 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.7795, allocations: 9.266 kB / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.7795, allocations: 6.609 kB / 0.9577 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.78, allocations: 198.5 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.7811, allocations: 0.662 MB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.7817, allocations: 207 kB / 0.9588 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.7817, allocations: 1.375 kB / 0.9588 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.7821, allocations: 210.2 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.7821, allocations: 4 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001147/0.7833, allocations: 0.5006 MB / 0.9595 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.7834, allocations: 109.8 kB / 0.9596 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.7836, allocations: 206.8 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.7836, allocations: 35.23 kB / 0.9598 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.7837, allocations: 126.4 kB / 0.9599 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.7838, allocations: 55.53 kB / 0.96 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.7838, allocations: 12.81 kB / 0.96 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7839, allocations: 335.1 kB / 0.9603 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.7844, allocations: 172.6 kB / 0.9605 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.7848, allocations: 218.4 kB / 0.9607 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.7853, allocations: 283.4 kB / 0.961 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7853, allocations: 0 / 0.961 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001129/0.7864, allocations: 0.5645 MB / 0.9615 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.938e-05/0.7865, allocations: 126.1 kB / 0.9616 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.7865, allocations: 5.219 kB / 0.9616 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7866, allocations: 2.25 kB / 0.9616 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.7868, allocations: 48.19 kB / 0.9617 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7868, allocations: 1.344 kB / 0.9617 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.7873, allocations: 110.7 kB / 0.9618 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.7874, allocations: 35.27 kB / 0.9618 GB, free: 1.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pul.booPul.y,pul.booPul.y,$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 (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000159/0.7876, allocations: 201 kB / 0.962 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.7876, allocations: 16.75 kB / 0.962 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.7876, allocations: 22.97 kB / 0.962 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7877, allocations: 5.625 kB / 0.9621 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.7877, allocations: 4.922 kB / 0.9621 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7877, allocations: 7.938 kB / 0.9621 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.7887, allocations: 0.7176 MB / 0.9628 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7887, allocations: 4 kB / 0.9628 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.7889, allocations: 48.17 kB / 0.9628 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.7889, allocations: 0 / 0.9628 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.7889, allocations: 3.531 kB / 0.9628 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7889, allocations: 0 / 0.9628 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7889, allocations: 0 / 0.9628 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/0.7898, allocations: 498.8 kB / 0.9633 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.7898, allocations: 89.64 kB / 0.9634 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.7899, allocations: 6.938 kB / 0.9634 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.7901, allocations: 35.09 kB / 0.9634 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.7901, allocations: 19.09 kB / 0.9634 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.7902, allocations: 21.91 kB / 0.9635 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001383/0.7903, allocations: 146.5 kB / 0.9636 GB, free: 476 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7903, allocations: 0 / 0.9636 GB, free: 476 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003608/0.7907, allocations: 68.89 kB / 0.9637 GB, free: 456 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.001416/0.7921, allocations: 1.032 MB / 0.9647 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.7934, allocations: 0.5955 MB / 0.9653 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7934, allocations: 0 / 0.9653 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.7939, allocations: 268.6 kB / 0.9655 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.7943, allocations: 36.94 kB / 0.9655 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.7959, allocations: 1.317 MB / 0.9668 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.7963, allocations: 0.7367 MB / 0.9676 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.7965, allocations: 50.16 kB / 0.9676 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.7966, allocations: 56.67 kB / 0.9677 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.7966, allocations: 3.938 kB / 0.9677 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.8148, allocations: 5.1 MB / 0.9726 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.8151, allocations: 192.6 kB / 0.9728 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.54, allocations: 0 / 0.9728 GB, free: 10.32 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat does not exist to compare? outputFormat=mat