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.0008297/0.0008299, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009454/0.0009454, allocations: 172.7 kB / 15.95 MB, free: 208 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.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.312 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.541/2.541, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8445, allocations: 142.3 MB / 0.9539 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001578/0.8461, allocations: 0.7247 MB / 0.9546 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.8478, allocations: 1.281 MB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.8479, allocations: 1.344 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.243e-05/0.848, allocations: 13.28 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.8481, allocations: 34.58 kB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.8487, allocations: 228.1 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.849, allocations: 279.9 kB / 0.9564 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.8492, allocations: 54.33 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.8494, allocations: 107.4 kB / 0.9565 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.8495, allocations: 86.42 kB / 0.9566 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.8495, allocations: 16.53 kB / 0.9566 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.8496, allocations: 34.66 kB / 0.9566 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.8497, allocations: 25.36 kB / 0.9567 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.8498, allocations: 59.36 kB / 0.9567 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.85, allocations: 264.5 kB / 0.957 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.85, allocations: 1.406 kB / 0.957 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.85, allocations: 0 / 0.957 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.85, allocations: 0 / 0.957 GB, free: 5.793 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.0007476/0.8508, allocations: 0.6056 MB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.8508, allocations: 9.344 kB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.8509, allocations: 39.34 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.8509, allocations: 34.78 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.8512, allocations: 256.6 kB / 0.9579 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.8512, allocations: 16.44 kB / 0.9579 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.8513, allocations: 20.59 kB / 0.9579 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.8517, allocations: 199.4 kB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8518, allocations: 3.938 kB / 0.9581 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.8518, allocations: 9.516 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.8518, allocations: 7.016 kB / 0.9581 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.8523, allocations: 198.3 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009819/0.8533, allocations: 0.6492 MB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.8538, allocations: 208.4 kB / 0.9592 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.8541, allocations: 152.3 kB / 0.9593 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.8541, allocations: 1.312 kB / 0.9593 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.8546, allocations: 209.5 kB / 0.9595 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.8546, allocations: 4 kB / 0.9595 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.00113/0.8557, allocations: 0.5058 MB / 0.96 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.8558, allocations: 106.2 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.856, allocations: 210.5 kB / 0.9603 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.856, allocations: 34.89 kB / 0.9603 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.8561, allocations: 131.1 kB / 0.9605 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.8562, allocations: 55.19 kB / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.8562, allocations: 8 kB / 0.9605 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.8563, allocations: 335.8 kB / 0.9608 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.8567, allocations: 175.8 kB / 0.961 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.8571, allocations: 216.4 kB / 0.9612 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.8575, allocations: 287.6 kB / 0.9615 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8575, allocations: 0 / 0.9615 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009571/0.8585, allocations: 0.5644 MB / 0.962 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.8586, allocations: 125.8 kB / 0.9622 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.8586, allocations: 5.531 kB / 0.9622 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.8586, allocations: 6.609 kB / 0.9622 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.8588, allocations: 39.25 kB / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.8588, allocations: 9.953 kB / 0.9622 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.8593, allocations: 122.4 kB / 0.9623 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.8593, allocations: 32.47 kB / 0.9624 GB, free: 1.77 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.0001414/0.8595, allocations: 193.6 kB / 0.9626 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.8595, allocations: 18.28 kB / 0.9626 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.8596, allocations: 22.23 kB / 0.9626 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.8596, allocations: 1 kB / 0.9626 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8596, allocations: 5.062 kB / 0.9626 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8596, allocations: 7.875 kB / 0.9626 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.8605, allocations: 0.7243 MB / 0.9633 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8606, allocations: 0 / 0.9633 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.8607, allocations: 47.06 kB / 0.9634 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8607, allocations: 1 kB / 0.9634 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.8607, allocations: 6.406 kB / 0.9634 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8608, allocations: 1.406 kB / 0.9634 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8608, allocations: 0 / 0.9634 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.8615, allocations: 495.6 kB / 0.9638 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.8615, allocations: 93.81 kB / 0.9639 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.8616, allocations: 6.281 kB / 0.9639 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.8617, allocations: 31.25 kB / 0.964 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.8618, allocations: 15.48 kB / 0.964 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.8619, allocations: 32 kB / 0.964 GB, free: 496 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.23e-05/0.862, allocations: 147.5 kB / 0.9641 GB, free: 384 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.862, allocations: 6.969 kB / 0.9642 GB, free: 380 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003329/0.8623, allocations: 58.97 kB / 0.9642 GB, free: 368 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.001124/0.8634, allocations: 1.029 MB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009764/0.8644, allocations: 0.5973 MB / 0.9658 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8644, allocations: 0 / 0.9658 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.8649, allocations: 264.6 kB / 0.9661 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.8653, allocations: 40.97 kB / 0.9661 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.8682, allocations: 1.679 MB / 0.9677 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.8685, allocations: 0.7314 MB / 0.9684 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.8687, allocations: 54.62 kB / 0.9685 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.8688, allocations: 56.45 kB / 0.9685 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.8688, allocations: 0 / 0.9685 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.8853, allocations: 5.18 MB / 0.9736 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.8856, allocations: 195.4 kB / 0.9738 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.649, allocations: 0 / 0.9738 GB, free: 10.35 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