Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_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.001205/0.001205, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00139/0.00139, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.68/1.68, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.453/3.453, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.002331, allocations: 68.12 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4283, allocations: 157.4 MB / 1.052 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002595/0.4309, allocations: 1.065 MB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.4331, allocations: 1.342 MB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.4333, allocations: 4 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.4335, allocations: 11.86 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.4336, allocations: 35.72 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.4344, allocations: 246.1 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.4349, allocations: 395.3 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.4352, allocations: 65.64 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.4354, allocations: 155.5 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.4358, allocations: 155.5 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.614e-05/0.4359, allocations: 36 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.4361, allocations: 43.98 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4362, allocations: 59.77 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.4364, allocations: 135.4 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.4368, allocations: 387 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4368, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4368, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.4369, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001043/0.4379, allocations: 0.611 MB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.438, allocations: 8.625 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.438, allocations: 42.75 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.4381, allocations: 36.55 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009545/0.4391, allocations: 366.8 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.4391, allocations: 12.38 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.4392, allocations: 24.31 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.4397, allocations: 214.6 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4397, allocations: 0 / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4397, allocations: 8 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4397, allocations: 4 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.4403, allocations: 139.8 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.4416, allocations: 0.907 MB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.4419, allocations: 157 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.4422, allocations: 80.3 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.4422, allocations: 7.938 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.4426, allocations: 163.5 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.4427, allocations: 0 / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0008973/0.4436, allocations: 257.4 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.4437, allocations: 162.2 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.4439, allocations: 224.9 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.444, allocations: 33.98 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.4441, allocations: 152.1 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.4441, allocations: 31.64 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4443, allocations: 53.67 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4444, allocations: 334.8 kB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.4447, allocations: 99.91 kB / 1.06 GB, free: 52 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.4451, allocations: 165 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000576/0.4457, allocations: 274.9 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4457, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008603/0.4466, allocations: 372.6 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.4466, allocations: 67.39 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4466, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.4467, allocations: 4 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.4469, allocations: 31.97 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.4469, allocations: 7.875 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.4473, allocations: 71.88 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.4473, allocations: 16 kB / 1.061 GB, free: 14.96 MB / 0.8262 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.0001749/0.4475, allocations: 153.7 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.4476, allocations: 19.81 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.4476, allocations: 21.23 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4476, allocations: 4 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4477, allocations: 4 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.4477, allocations: 4 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.448, allocations: 257.5 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.448, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4481, allocations: 23.92 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4481, allocations: 4 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4482, allocations: 11.98 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.4482, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4482, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.4488, allocations: 248 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.4489, allocations: 96.86 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.4489, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.449, allocations: 27.91 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.4491, allocations: 11.98 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.4491, allocations: 7.938 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001481/0.4493, allocations: 168.5 kB / 1.062 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4493, allocations: 0 / 1.062 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003203/0.4496, allocations: 47.84 kB / 1.062 GB, free: 13.77 MB / 0.8262 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.0009192/0.4506, allocations: 0.7756 MB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007479/0.4513, allocations: 334.5 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.4513, allocations: 0 / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.4516, allocations: 92.3 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.452, allocations: 52.39 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.4559, allocations: 2.603 MB / 1.066 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4562, allocations: 0.7476 MB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.4564, allocations: 37.5 kB / 1.067 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4565, allocations: 70.03 kB / 1.067 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of SimCode: time 6.91e-07/0.4565, allocations: 0 / 1.067 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.4744, allocations: 4.907 MB / 1.072 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/0.4748, allocations: 219.2 kB / 1.072 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/2.798, allocations: 0 / 1.072 GB, free: 3.855 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches