Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_10_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.00456/0.00456, allocations: 104.7 kB / 15.73 MB, free: 5.965 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.001247/0.001247, allocations: 192.5 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.329/2.329, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 75.88 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6444, allocations: 151.6 MB / 1.166 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002373/0.6468, allocations: 1.34 MB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.6487, allocations: 1.549 MB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.6488, allocations: 0 / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.6489, allocations: 35.55 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.6491, allocations: 67.38 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.6501, allocations: 0.4971 MB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006977/0.6508, allocations: 0.6872 MB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.6511, allocations: 164.9 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.6514, allocations: 255.3 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.6517, allocations: 239.2 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/0.6518, allocations: 68 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.6519, allocations: 79.98 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.652, allocations: 83.69 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.6523, allocations: 246.9 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.653, allocations: 0.6848 MB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.653, allocations: 3.938 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.173e-06/0.653, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.653, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 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.001196/0.6542, allocations: 0.9619 MB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6542, allocations: 8.922 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.6543, allocations: 66.67 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.6544, allocations: 56.64 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.6556, allocations: 480 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.6557, allocations: 24.94 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.6558, allocations: 40.38 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.6564, allocations: 321.1 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6564, allocations: 0 / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.6564, allocations: 23.92 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.6565, allocations: 8 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006434/0.6571, allocations: 246.1 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.6586, allocations: 0.9045 MB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.6593, allocations: 382.5 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.6598, allocations: 280.7 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.6598, allocations: 4 kB / 1.176 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.6604, allocations: 326.9 kB / 1.176 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.6604, allocations: 0 / 1.176 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.001579/0.662, allocations: 0.8306 MB / 1.177 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.6621, allocations: 195.9 kB / 1.177 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.6624, allocations: 288.5 kB / 1.177 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.6625, allocations: 49.7 kB / 1.177 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.6627, allocations: 164.9 kB / 1.177 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6628, allocations: 142.8 kB / 1.178 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.663, allocations: 130.1 kB / 1.178 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6632, allocations: 350.8 kB / 1.178 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.6638, allocations: 272.8 kB / 1.178 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.6644, allocations: 365.8 kB / 1.179 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.6657, allocations: 0.909 MB / 1.18 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6657, allocations: 3.984 kB / 1.18 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001626/0.6673, allocations: 0.9938 MB / 1.181 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.6675, allocations: 259.2 kB / 1.181 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6675, allocations: 4 kB / 1.181 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.6675, allocations: 4 kB / 1.181 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.6678, allocations: 72.17 kB / 1.181 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.6678, allocations: 7.984 kB / 1.181 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.6685, allocations: 139.6 kB / 1.181 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.6687, allocations: 75.91 kB / 1.181 GB, free: 3.82 MB / 0.9044 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,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.6689, allocations: 323.6 kB / 1.181 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.669, allocations: 39.77 kB / 1.181 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.365e-05/0.6691, allocations: 39.48 kB / 1.181 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6691, allocations: 4 kB / 1.181 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.6691, allocations: 4 kB / 1.181 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6691, allocations: 3.984 kB / 1.181 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.6709, allocations: 1.191 MB / 1.183 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6709, allocations: 0 / 1.183 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.6711, allocations: 71.89 kB / 1.183 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.6711, allocations: 3.984 kB / 1.183 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.6712, allocations: 12 kB / 1.183 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6712, allocations: 3.938 kB / 1.183 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6712, allocations: 0 / 1.183 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.6723, allocations: 0.7744 MB / 1.184 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.6724, allocations: 108.8 kB / 1.184 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.6725, allocations: 11.98 kB / 1.184 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.6727, allocations: 35.91 kB / 1.184 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.6728, allocations: 39.95 kB / 1.184 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.6728, allocations: 47.94 kB / 1.184 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001811/0.673, allocations: 195.1 kB / 1.184 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.673, allocations: 0 / 1.184 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004122/0.6735, allocations: 111.9 kB / 1.184 GB, free: 0.6211 MB / 0.9044 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 (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.001477/0.6749, allocations: 1.326 MB / 1.185 GB, free: 15.24 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.6764, allocations: 1.109 MB / 1.186 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6765, allocations: 0 / 1.186 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.6771, allocations: 0.5169 MB / 1.187 GB, free: 13.44 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.6776, allocations: 84.48 kB / 1.187 GB, free: 13.36 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006318/0.6839, allocations: 4.66 MB / 1.192 GB, free: 8.504 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.6843, allocations: 0.8002 MB / 1.192 GB, free: 7.68 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.6845, allocations: 91.2 kB / 1.192 GB, free: 7.586 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.6847, allocations: 115.4 kB / 1.193 GB, free: 7.473 MB / 0.92 GB Notification: Performance of SimCode: time 2.91e-07/0.6847, allocations: 0 / 1.193 GB, free: 7.473 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.7168, allocations: 9.835 MB / 1.202 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/9.108, allocations: 11.34 kB / 1.202 GB, free: 13.81 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches