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.001362/0.001362, 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.001573/0.001573, 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 2.825/2.825, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.614/4.614, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005179/0.000518, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522/1.523, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003091/1.526, allocations: 0.9864 MB / 0.9818 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003911/1.53, allocations: 1.46 MB / 0.9833 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/1.53, allocations: 4 kB / 0.9833 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/1.53, allocations: 19.8 kB / 0.9833 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/1.531, allocations: 63.77 kB / 0.9833 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/1.533, allocations: 425.6 kB / 0.9837 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007488/1.533, allocations: 324.4 kB / 0.9841 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005166/1.534, allocations: 123.9 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/1.534, allocations: 183.5 kB / 0.9844 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/1.535, allocations: 167.3 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/1.535, allocations: 28 kB / 0.9845 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/1.535, allocations: 35.98 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/1.535, allocations: 51.77 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/1.535, allocations: 93.5 kB / 0.9847 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008324/1.536, allocations: 0.5008 MB / 0.9852 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.536, allocations: 0 / 0.9852 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.717e-06/1.536, allocations: 0 / 0.9852 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.64e-05/1.536, allocations: 0 / 0.9852 GB, free: 1.863 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.001905/1.538, allocations: 0.8608 MB / 0.986 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.365e-05/1.538, allocations: 8.031 kB / 0.986 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/1.539, allocations: 66.53 kB / 0.9861 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/1.539, allocations: 47.53 kB / 0.9862 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/1.541, allocations: 499.7 kB / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/1.541, allocations: 32.56 kB / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.541, allocations: 40 kB / 0.9867 GB, free: 176 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.542, allocations: 336.7 kB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/1.542, allocations: 0 / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/1.542, allocations: 12 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/1.542, allocations: 4 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.543, allocations: 282 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/1.546, allocations: 0.9393 MB / 0.9882 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.547, allocations: 386.7 kB / 0.9886 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/1.547, allocations: 0 / 0.9886 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009877/1.548, allocations: 331.1 kB / 0.9889 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 4.147e-06/1.548, allocations: 0 / 0.9889 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.002819/1.551, allocations: 0.8733 MB / 0.9898 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/1.551, allocations: 187.9 kB / 0.9899 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/1.552, allocations: 288.5 kB / 0.9902 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/1.552, allocations: 41.7 kB / 0.9903 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/1.552, allocations: 176.7 kB / 0.9904 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/1.553, allocations: 138.1 kB / 0.9906 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/1.553, allocations: 16 kB / 0.9906 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002614/1.553, allocations: 346.8 kB / 0.9909 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.554, allocations: 284.8 kB / 0.9912 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.555, allocations: 373.8 kB / 0.9915 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.556, allocations: 0.5272 MB / 0.992 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/1.556, allocations: 7.984 kB / 0.9921 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002888/1.559, allocations: 1.013 MB / 0.993 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002598/1.56, allocations: 259.3 kB / 0.9933 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.56, allocations: 0 / 0.9933 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.951e-05/1.56, allocations: 8 kB / 0.9933 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/1.56, allocations: 79.86 kB / 0.9934 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/1.56, allocations: 7.984 kB / 0.9934 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.562, allocations: 188.8 kB / 0.9936 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/1.562, allocations: 63.92 kB / 0.9936 GB, free: 8.695 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.0005424/1.562, allocations: 322 kB / 0.9939 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.562, allocations: 43.48 kB / 0.994 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/1.563, allocations: 39.48 kB / 0.994 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.563, allocations: 4 kB / 0.994 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.563, allocations: 0 / 0.994 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.563, allocations: 3.984 kB / 0.994 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/1.566, allocations: 1.222 MB / 0.9952 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.566, allocations: 0 / 0.9952 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/1.566, allocations: 75.88 kB / 0.9953 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/1.566, allocations: 4 kB / 0.9953 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/1.566, allocations: 8 kB / 0.9953 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/1.566, allocations: 8 kB / 0.9953 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.566, allocations: 0 / 0.9953 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/1.568, allocations: 0.7847 MB / 0.9961 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/1.569, allocations: 112.6 kB / 0.9962 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/1.569, allocations: 19.86 kB / 0.9962 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/1.569, allocations: 49.03 kB / 0.9962 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/1.569, allocations: 39.91 kB / 0.9963 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.57, allocations: 47.92 kB / 0.9963 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004895/1.57, allocations: 195.1 kB / 0.9965 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/1.57, allocations: 0 / 0.9965 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001039/1.571, allocations: 107.9 kB / 0.9966 GB, free: 5.441 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.002764/1.574, allocations: 1.345 MB / 0.9979 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002983/1.577, allocations: 1.137 MB / 0.999 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/1.577, allocations: 0 / 0.999 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/1.578, allocations: 0.5285 MB / 0.9996 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/1.579, allocations: 77.92 kB / 0.9996 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/1.585, allocations: 2.565 MB / 1.002 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009534/1.586, allocations: 0.8044 MB / 1.003 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000514/1.586, allocations: 95.19 kB / 1.003 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/1.587, allocations: 111.4 kB / 1.003 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of SimCode: time 2.745e-06/1.587, allocations: 0 / 1.003 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/1.625, allocations: 8.945 MB / 1.012 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/1.626, allocations: 192.4 kB / 1.012 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/4.903, allocations: 3.938 kB / 1.012 GB, free: 5.5 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