Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_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.0009302/0.0009302, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001066/0.001066, allocations: 168.7 kB / 15.95 MB, free: 204 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.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.531/2.531, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003985, allocations: 12 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8598, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001925/0.8618, allocations: 0.9783 MB / 0.9821 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.8645, allocations: 1.526 MB / 0.9836 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.8647, allocations: 4 kB / 0.9836 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.8648, allocations: 19.73 kB / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.865, allocations: 47.56 kB / 0.9837 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.8662, allocations: 423.8 kB / 0.9841 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.867, allocations: 0.5271 MB / 0.9846 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.8673, allocations: 127.9 kB / 0.9847 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.8678, allocations: 187.4 kB / 0.9849 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.8681, allocations: 167.2 kB / 0.985 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.674e-05/0.8681, allocations: 28 kB / 0.9851 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.8683, allocations: 35.98 kB / 0.9851 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.8683, allocations: 55.7 kB / 0.9852 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.8685, allocations: 89.52 kB / 0.9852 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.8689, allocations: 0.5047 MB / 0.9857 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8689, allocations: 0 / 0.9857 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/0.869, allocations: 0 / 0.9857 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.869, allocations: 0 / 0.9857 GB, free: 1.512 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001203/0.8702, allocations: 0.8647 MB / 0.9866 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.8702, allocations: 8.031 kB / 0.9866 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.473e-05/0.8703, allocations: 62.53 kB / 0.9866 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.8705, allocations: 47.53 kB / 0.9867 GB, free: 428 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.8718, allocations: 499.9 kB / 0.9872 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.8719, allocations: 32.5 kB / 0.9872 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.872, allocations: 36 kB / 0.9872 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.8726, allocations: 336.7 kB / 0.9876 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8727, allocations: 0 / 0.9876 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.8727, allocations: 11.98 kB / 0.9876 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.8727, allocations: 8 kB / 0.9876 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.8734, allocations: 278.1 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.8749, allocations: 0.9315 MB / 0.9887 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.8756, allocations: 386.8 kB / 0.9891 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.8761, allocations: 295.5 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.8761, allocations: 8 kB / 0.9894 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000563/0.8767, allocations: 335 kB / 0.9897 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 2.165e-06/0.8767, allocations: 0 / 0.9897 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.001538/0.8782, allocations: 0.8694 MB / 0.9906 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.8784, allocations: 191.9 kB / 0.9908 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.8787, allocations: 288.5 kB / 0.991 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/0.8788, allocations: 41.7 kB / 0.9911 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.8789, allocations: 164.8 kB / 0.9912 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.8791, allocations: 138.1 kB / 0.9914 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.8791, allocations: 16 kB / 0.9914 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8793, allocations: 346.8 kB / 0.9917 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006078/0.8799, allocations: 280.8 kB / 0.992 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.8806, allocations: 377.8 kB / 0.9923 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/0.8812, allocations: 0.5388 MB / 0.9929 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.8812, allocations: 0 / 0.9929 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001565/0.8828, allocations: 1.021 MB / 0.9939 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.883, allocations: 259.3 kB / 0.9941 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.883, allocations: 7.938 kB / 0.9941 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.883, allocations: 4 kB / 0.9941 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.8833, allocations: 67.89 kB / 0.9942 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8833, allocations: 7.938 kB / 0.9942 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007314/0.8841, allocations: 195.6 kB / 0.9944 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.8842, allocations: 71.89 kB / 0.9944 GB, free: 8.047 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002903/0.8845, allocations: 325.9 kB / 0.9948 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.8846, allocations: 35.53 kB / 0.9948 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.948e-05/0.8847, allocations: 43.48 kB / 0.9948 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8847, allocations: 4 kB / 0.9948 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.8847, allocations: 0 / 0.9948 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.8847, allocations: 7.984 kB / 0.9948 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.8864, allocations: 1.225 MB / 0.996 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.8864, allocations: 0 / 0.996 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.8866, allocations: 71.89 kB / 0.9961 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.8866, allocations: 0 / 0.9961 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.8867, allocations: 12 kB / 0.9961 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8867, allocations: 0 / 0.9961 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8867, allocations: 3.984 kB / 0.9961 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.8877, allocations: 0.7886 MB / 0.9969 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.8878, allocations: 116.6 kB / 0.997 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.8879, allocations: 11.94 kB / 0.997 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.8881, allocations: 37.09 kB / 0.997 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.8882, allocations: 39.91 kB / 0.9971 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.559e-05/0.8883, allocations: 51.88 kB / 0.9971 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001749/0.8884, allocations: 195.1 kB / 0.9973 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8884, allocations: 0 / 0.9973 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004302/0.8889, allocations: 107.9 kB / 0.9974 GB, free: 4.801 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.001381/0.8903, allocations: 1.341 MB / 0.9987 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.8917, allocations: 1.137 MB / 0.9998 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8917, allocations: 3.938 kB / 0.9998 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005565/0.8923, allocations: 0.528 MB / 1 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.8928, allocations: 80.97 kB / 1 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.8972, allocations: 2.784 MB / 1.003 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.8976, allocations: 0.8004 MB / 1.004 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.8978, allocations: 95.19 kB / 1.004 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.898, allocations: 111.4 kB / 1.004 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of SimCode: time 3.61e-07/0.898, allocations: 0 / 1.004 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.9199, allocations: 9.106 MB / 1.013 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/0.9203, allocations: 198.2 kB / 1.013 GB, free: 4.488 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.977, allocations: 0 / 1.013 GB, free: 4.488 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat does not exist to compare? outputFormat=mat