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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005332/0.005332, allocations: 169 kB / 16.26 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.895/2.895, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 15.53 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001963/0.3843, allocations: 0.7089 MB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.3873, allocations: 1.369 MB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.3875, allocations: 0 / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.3877, allocations: 15.86 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.3879, allocations: 31.72 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.3891, allocations: 250.5 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.3898, allocations: 347.1 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.3901, allocations: 61.61 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.3904, allocations: 123.6 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.3908, allocations: 127.5 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.791e-05/0.3909, allocations: 12 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3911, allocations: 27.98 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3912, allocations: 47.77 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.3915, allocations: 137.1 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.3921, allocations: 355 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3921, allocations: 4 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.85e-06/0.3921, allocations: 3.984 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.3921, allocations: 0 / 1.062 GB, free: 1.875 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.001194/0.3933, allocations: 0.5683 MB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.3934, allocations: 8.031 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3935, allocations: 28.66 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.3948, allocations: 398.7 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.3948, allocations: 16.38 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.3949, allocations: 24.31 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.3956, allocations: 226.8 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3956, allocations: 3.938 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.3956, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3957, allocations: 4 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.3964, allocations: 167.8 kB / 1.064 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.3982, allocations: 0.9186 MB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.3986, allocations: 165 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.399, allocations: 96.3 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.399, allocations: 7.922 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005179/0.3995, allocations: 175.5 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.335e-06/0.3995, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001283/0.4008, allocations: 297.3 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.401, allocations: 162.4 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.4013, allocations: 221 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.4014, allocations: 29.7 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.4016, allocations: 164.2 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.4016, allocations: 23.66 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.4017, allocations: 25.7 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4019, allocations: 330.8 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.4023, allocations: 119.8 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.4029, allocations: 175.5 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008204/0.4037, allocations: 306.9 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4037, allocations: 3.938 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001248/0.405, allocations: 392.6 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.424e-05/0.4051, allocations: 63.41 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.4051, allocations: 4 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.4051, allocations: 8.156 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.4053, allocations: 31.97 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.4054, allocations: 7.922 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/0.406, allocations: 91.83 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.4061, allocations: 19.98 kB / 1.067 GB, free: 12.22 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.0002144/0.4063, allocations: 153.3 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.4064, allocations: 19.81 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.663e-05/0.4065, allocations: 21.23 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.4065, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4065, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4065, allocations: 4 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.4069, allocations: 261.4 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4069, allocations: 0 / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.4071, allocations: 43.84 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4071, allocations: 0 / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4071, allocations: 4 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4072, allocations: 0 / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4072, allocations: 4 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008068/0.408, allocations: 272 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.4081, allocations: 88.92 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4081, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.4083, allocations: 35.97 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.4084, allocations: 19.97 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.4085, allocations: 4 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002007/0.4087, allocations: 160.4 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.4087, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004766/0.4092, allocations: 51.84 kB / 1.068 GB, free: 10.98 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.0003045/0.4095, allocations: 111.2 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.4107, allocations: 355.1 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4107, allocations: 7.938 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.4111, allocations: 92.31 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.4117, allocations: 42.25 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.4126, allocations: 465.9 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.413, allocations: 0.7517 MB / 1.07 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.4132, allocations: 37.52 kB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.4133, allocations: 15.44 kB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.4133, allocations: 7.938 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.009372/0.4227, allocations: 2.753 MB / 1.073 GB, free: 6.316 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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