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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009084/0.009085, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.001734/0.001734, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.301 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 2.447/2.447, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 63.81 kB / 0.9509 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4012, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002611/0.4039, allocations: 1.041 MB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.406, allocations: 1.313 MB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.4062, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.4064, allocations: 19.73 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.4065, allocations: 43.66 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009014/0.4074, allocations: 276.1 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.408, allocations: 359.3 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.4082, allocations: 82.58 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.4085, allocations: 131.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.4087, allocations: 139.5 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.236e-05/0.4088, allocations: 36 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.409, allocations: 44 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.409, allocations: 39.84 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.4092, allocations: 131.5 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.4098, allocations: 366.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4098, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4098, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.4098, allocations: 0 / 1.092 GB, free: 13.48 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.001216/0.411, allocations: 0.6343 MB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4111, allocations: 8.031 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.4112, allocations: 28.66 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.4116, allocations: 264.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.4116, allocations: 12.61 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.4117, allocations: 20.38 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.4122, allocations: 187.5 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4123, allocations: 3.984 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.4123, allocations: 8 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4123, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.4129, allocations: 176.5 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.4141, allocations: 0.6288 MB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.4146, allocations: 198.6 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.415, allocations: 140.8 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.415, allocations: 3.984 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/0.4155, allocations: 191.1 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/0.4156, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001176/0.4167, allocations: 466.5 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.4168, allocations: 110.8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.4171, allocations: 211.2 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.4171, allocations: 37.7 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4172, allocations: 124.4 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.4173, allocations: 55.28 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.4175, allocations: 65.67 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4176, allocations: 326.8 kB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.4181, allocations: 171.8 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.4185, allocations: 193 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008182/0.4194, allocations: 472.2 kB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4194, allocations: 0 / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00112/0.4205, allocations: 0.535 MB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.4206, allocations: 130.7 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4207, allocations: 0 / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.166e-05/0.4207, allocations: 4 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.4209, allocations: 40.08 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.421, allocations: 0 / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.4214, allocations: 79.75 kB / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.4215, allocations: 35.91 kB / 1.097 GB, free: 7.605 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.0002448/0.4218, allocations: 197.2 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.4218, allocations: 23.66 kB / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.4219, allocations: 21.86 kB / 1.097 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4219, allocations: 4 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4219, allocations: 3.938 kB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4219, allocations: 0 / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.423, allocations: 0.6954 MB / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.423, allocations: 0 / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.4232, allocations: 35.91 kB / 1.098 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4232, allocations: 0 / 1.098 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.4233, allocations: 11.94 kB / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4233, allocations: 0 / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4233, allocations: 4 kB / 1.098 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/0.4241, allocations: 458.4 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.4242, allocations: 96.81 kB / 1.099 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.4243, allocations: 12 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.4244, allocations: 19.97 kB / 1.099 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.4245, allocations: 15.98 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.4246, allocations: 23.97 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001699/0.4248, allocations: 156.6 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4248, allocations: 3.938 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003549/0.4251, allocations: 55.94 kB / 1.099 GB, free: 5.652 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.0001988/0.4253, allocations: 107.2 kB / 1.099 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.4265, allocations: 0.5637 MB / 1.1 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4265, allocations: 256 / 1.1 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.4269, allocations: 252.4 kB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.4274, allocations: 49.7 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.4283, allocations: 435.9 kB / 1.1 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4287, allocations: 0.7357 MB / 1.101 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.4289, allocations: 49.48 kB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.4289, allocations: 15.44 kB / 1.101 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.4289, allocations: 0 / 1.101 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of Templates: time 0.009096/0.4381, allocations: 3.748 MB / 1.105 GB, free: 15.62 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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