Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.01007/0.01007, allocations: 101 kB / 15.73 MB, free: 6.047 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.002059/0.002059, allocations: 188 kB / 16.67 MB, free: 5.977 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.144/2.144, allocations: 222.9 MB / 240.4 MB, free: 4.305 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 4.465/4.465, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 63.34 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4502, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.004549/0.4549, allocations: 0.978 MB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.4581, allocations: 1.285 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.4583, allocations: 8 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.4585, allocations: 15.81 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.4587, allocations: 39.62 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.4602, allocations: 247.7 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.4609, allocations: 343.4 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.4611, allocations: 56.34 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.4614, allocations: 123.7 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.4617, allocations: 123.5 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.236e-05/0.4618, allocations: 32 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.4619, allocations: 47.92 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.462, allocations: 31.91 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.4622, allocations: 123.5 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.4628, allocations: 339.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4628, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4628, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.4628, allocations: 0 / 1.091 GB, free: 14.2 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001264/0.4641, allocations: 0.5566 MB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.4641, allocations: 11.97 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.4642, allocations: 50.73 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.4643, allocations: 24.69 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.4648, allocations: 251.9 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.4648, allocations: 16.31 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.4649, allocations: 16.38 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.4655, allocations: 170.4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4655, allocations: 3.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.4655, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4656, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.4663, allocations: 135.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.4678, allocations: 0.8797 MB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.4684, allocations: 161 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.4688, allocations: 92.28 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.4688, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/0.4695, allocations: 183.5 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.4695, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.00158/0.4711, allocations: 289.4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.4712, allocations: 170.5 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.4716, allocations: 202.9 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/0.4717, allocations: 33.7 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.4718, allocations: 124.4 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.4719, allocations: 35.58 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.4721, allocations: 49.69 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4723, allocations: 330.8 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/0.4729, allocations: 119.9 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.4735, allocations: 177.1 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.4745, allocations: 302.9 kB / 1.095 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4745, allocations: 4 kB / 1.095 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001512/0.4761, allocations: 404.5 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.4762, allocations: 73.11 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4762, allocations: 4 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.4762, allocations: 7.938 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.4765, allocations: 27.91 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.4766, allocations: 4.219 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.4773, allocations: 75.75 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.4774, allocations: 16 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0002495/0.4776, allocations: 141.8 kB / 1.096 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.4777, allocations: 15.81 kB / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.4778, allocations: 24.92 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4778, allocations: 3.938 kB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4778, allocations: 7.938 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4779, allocations: 0 / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.4783, allocations: 249.5 kB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4783, allocations: 0 / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.4786, allocations: 27.97 kB / 1.096 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4786, allocations: 0 / 1.096 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.4786, allocations: 8 kB / 1.096 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.4786, allocations: 7.938 kB / 1.096 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.4786, allocations: 7.938 kB / 1.096 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.4797, allocations: 252.2 kB / 1.097 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.4799, allocations: 96.91 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.4799, allocations: 0 / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.4802, allocations: 27.91 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.4803, allocations: 19.92 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.4803, allocations: 8 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002301/0.4806, allocations: 148.4 kB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4806, allocations: 0 / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005875/0.4812, allocations: 55.83 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.001787/0.483, allocations: 0.7911 MB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.484, allocations: 374.5 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.484, allocations: 4 kB / 1.098 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.4844, allocations: 96.36 kB / 1.098 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.4848, allocations: 45.58 kB / 1.098 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.4898, allocations: 2.534 MB / 1.101 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.4903, allocations: 0.7323 MB / 1.101 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.4904, allocations: 29.39 kB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.4906, allocations: 55.41 kB / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of SimCode: time 7.61e-07/0.4906, allocations: 0 / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.5274, allocations: 5.005 MB / 1.106 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.52, allocations: 9.344 kB / 1.106 GB, free: 13.85 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches