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.009443/0.009444, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001841/0.001841, allocations: 193.8 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 1.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.619/2.619, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 62.91 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3771, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00246/0.3796, allocations: 1.045 MB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3816, allocations: 1.309 MB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3817, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.3819, allocations: 19.73 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.382, allocations: 43.66 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.3829, allocations: 283.3 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.3833, allocations: 363.3 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.3835, allocations: 86.56 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3837, allocations: 131.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.3839, allocations: 131.5 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.384, allocations: 32 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3841, allocations: 47.98 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.3841, allocations: 43.83 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.3843, allocations: 123.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.3848, allocations: 374.7 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3848, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3848, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3848, allocations: 0 / 1.092 GB, free: 13.49 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.001094/0.3859, allocations: 0.6341 MB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3859, allocations: 12.03 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.386, allocations: 28.73 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3864, allocations: 272.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3864, allocations: 12.61 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.3865, allocations: 24.36 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.3869, allocations: 187.6 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.387, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.387, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.387, allocations: 7.984 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.3875, allocations: 176.4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3886, allocations: 0.629 MB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.3891, allocations: 186.7 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.3895, allocations: 140.8 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3895, allocations: 4 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/0.39, allocations: 191.2 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.39, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001107/0.3911, allocations: 470.1 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.3912, allocations: 110.8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3914, allocations: 207.2 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.3915, allocations: 33.7 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.3916, allocations: 128.5 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.3916, allocations: 63.47 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3918, allocations: 61.69 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3919, allocations: 330.8 kB / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.3923, allocations: 159.9 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.3927, allocations: 200.9 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.3935, allocations: 468.2 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3935, allocations: 0 / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001081/0.3946, allocations: 0.5287 MB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.3947, allocations: 134.7 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3948, allocations: 4 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3948, allocations: 0 / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.395, allocations: 36.09 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.395, allocations: 8 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.3954, allocations: 79.8 kB / 1.097 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.3955, allocations: 35.95 kB / 1.097 GB, free: 7.609 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.0001901/0.3957, allocations: 195.4 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.3958, allocations: 27.8 kB / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.3958, allocations: 25.86 kB / 1.097 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3959, allocations: 3.938 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3959, allocations: 0 / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3959, allocations: 0 / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.3971, allocations: 0.6966 MB / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3971, allocations: 0 / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3973, allocations: 39.91 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3973, allocations: 0 / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.3973, allocations: 7.984 kB / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3973, allocations: 3.938 kB / 1.098 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3973, allocations: 4 kB / 1.098 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008135/0.3981, allocations: 456.4 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.3982, allocations: 101 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.3983, allocations: 8 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3985, allocations: 19.97 kB / 1.099 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.3986, allocations: 23.97 kB / 1.099 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.3986, allocations: 19.97 kB / 1.099 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001407/0.3988, allocations: 152.6 kB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3988, allocations: 0 / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003341/0.3991, allocations: 67.89 kB / 1.099 GB, free: 5.645 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.000366/0.3995, allocations: 111.2 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.4005, allocations: 0.5581 MB / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4005, allocations: 0 / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.4009, allocations: 254.9 kB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.4014, allocations: 44.33 kB / 1.1 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.4022, allocations: 445.5 kB / 1.1 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4026, allocations: 0.7241 MB / 1.101 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.4028, allocations: 57.47 kB / 1.101 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.4028, allocations: 15.44 kB / 1.101 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.4028, allocations: 3.938 kB / 1.101 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of Templates: time 0.008466/0.4113, allocations: 3.744 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