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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009568/0.009568, allocations: 104 kB / 15.74 MB, free: 5.953 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.002114/0.002114, allocations: 188.9 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 2.186/2.186, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.439/3.439, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 76.03 kB / 0.9504 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4435, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.004423/0.448, allocations: 1.054 MB / 1.089 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.4511, allocations: 1.309 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.4514, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.4517, allocations: 23.73 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.452, allocations: 35.59 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.4538, allocations: 276.7 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009388/0.4547, allocations: 363.3 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.4551, allocations: 85.38 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.4556, allocations: 131.7 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.4559, allocations: 131.5 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.4561, allocations: 36 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.4562, allocations: 39.98 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.4563, allocations: 51.83 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.4565, allocations: 123.4 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.4571, allocations: 375.7 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4571, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.846e-06/0.4571, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.4571, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 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.001337/0.4585, allocations: 0.6265 MB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4585, allocations: 8.031 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.17e-05/0.4586, allocations: 46.67 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.4588, allocations: 32.66 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4592, allocations: 256.9 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.4592, allocations: 12.61 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.4593, allocations: 24.36 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.4598, allocations: 187.3 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4599, allocations: 0 / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.4599, allocations: 11.94 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4599, allocations: 0 / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.4605, allocations: 172.5 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.4618, allocations: 0.6365 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.4624, allocations: 190.7 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.4628, allocations: 144.8 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4629, allocations: 0 / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.4634, allocations: 199.1 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.4634, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001288/0.4647, allocations: 458.2 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.4648, allocations: 114.8 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.4651, allocations: 207.2 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.4652, allocations: 37.7 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4653, allocations: 132.3 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.4653, allocations: 51.3 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.4655, allocations: 65.67 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4657, allocations: 334.8 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.4662, allocations: 159.9 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.4668, allocations: 202.6 kB / 1.096 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.4677, allocations: 460 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4677, allocations: 4 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001287/0.469, allocations: 0.537 MB / 1.096 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.4691, allocations: 126.7 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.4691, allocations: 0 / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.4691, allocations: 7.984 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.4694, allocations: 44.03 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.4694, allocations: 3.984 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.4699, allocations: 75.75 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.47, allocations: 31.97 kB / 1.097 GB, free: 8.07 MB / 0.8575 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,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.4702, allocations: 203 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.4703, allocations: 31.64 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.4704, allocations: 25.86 kB / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.4704, allocations: 4 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4704, allocations: 0 / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4704, allocations: 0 / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.4716, allocations: 0.6928 MB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4716, allocations: 0 / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.4718, allocations: 39.91 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4718, allocations: 0 / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.4718, allocations: 7.984 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4718, allocations: 4 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4718, allocations: 0 / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008638/0.4727, allocations: 456.2 kB / 1.098 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.4728, allocations: 100.8 kB / 1.098 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.4729, allocations: 8 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.4731, allocations: 23.97 kB / 1.098 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.4732, allocations: 19.92 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.4732, allocations: 19.97 kB / 1.098 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001716/0.4734, allocations: 160.6 kB / 1.098 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4734, allocations: 0 / 1.098 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003637/0.4738, allocations: 55.94 kB / 1.099 GB, free: 6.105 MB / 0.8575 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 (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.001393/0.4752, allocations: 1.002 MB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.4764, allocations: 0.5621 MB / 1.1 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4764, allocations: 3.938 kB / 1.1 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.4768, allocations: 250.9 kB / 1.1 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.4773, allocations: 40.41 kB / 1.1 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005123/0.4825, allocations: 2.988 MB / 1.103 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.483, allocations: 0.7358 MB / 1.104 GB, free: 276 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.4832, allocations: 41.5 kB / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.4833, allocations: 55.42 kB / 1.104 GB, free: 180 kB / 0.8575 GB Notification: Performance of SimCode: time 2.054e-06/0.4833, allocations: 8 kB / 1.104 GB, free: 172 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.5164, allocations: 5.729 MB / 1.11 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.82, allocations: 9.344 kB / 1.11 GB, free: 10.57 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches