Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001212/0.001212, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 186.4 kB / 16.92 MB, free: 6.75 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003732, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.671, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001187/0.6722, allocations: 0.7192 MB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.6741, allocations: 1.358 MB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.6742, allocations: 4 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.6743, allocations: 15.86 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.6744, allocations: 35.72 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007704/0.6752, allocations: 250.8 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.6756, allocations: 335.3 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.6758, allocations: 65.66 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.6761, allocations: 131.6 kB / 1.027 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.6764, allocations: 123.5 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.6765, allocations: 16 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.6766, allocations: 27.92 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.6767, allocations: 43.83 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.6768, allocations: 133.1 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.6771, allocations: 293.2 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6771, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6772, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.6772, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7794 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.000851/0.678, allocations: 0.5682 MB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.6781, allocations: 8.031 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.6782, allocations: 32.56 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009336/0.6791, allocations: 394.8 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.6791, allocations: 12.38 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.6792, allocations: 28.36 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.6797, allocations: 218.1 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6797, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.6797, allocations: 4 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6797, allocations: 4 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.6802, allocations: 167.8 kB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.6814, allocations: 0.9263 MB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.6817, allocations: 161.1 kB / 1.03 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.682, allocations: 96.17 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.682, allocations: 0 / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/0.6824, allocations: 183.6 kB / 1.03 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/0.6824, allocations: 8 kB / 1.03 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0009031/0.6833, allocations: 297.7 kB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.6835, allocations: 158.2 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.6837, allocations: 220.9 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.6837, allocations: 33.7 kB / 1.031 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6839, allocations: 152.1 kB / 1.031 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.6839, allocations: 27.64 kB / 1.031 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.684, allocations: 29.66 kB / 1.031 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6841, allocations: 342.8 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.6845, allocations: 111.9 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.6849, allocations: 163.6 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.6856, allocations: 298.9 kB / 1.032 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6856, allocations: 0 / 1.032 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008856/0.6865, allocations: 400.4 kB / 1.032 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.6865, allocations: 72.64 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6865, allocations: 4.219 kB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6866, allocations: 4 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.6868, allocations: 35.91 kB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6868, allocations: 0 / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.6872, allocations: 107.8 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.6873, allocations: 19.92 kB / 1.032 GB, free: 6.66 MB / 0.7794 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.0001609/0.6874, allocations: 146.3 kB / 1.032 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.6875, allocations: 23.8 kB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.6875, allocations: 17.25 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6875, allocations: 7.938 kB / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6876, allocations: 0 / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.6876, allocations: 7.984 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.6878, allocations: 249.5 kB / 1.033 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6878, allocations: 4 kB / 1.033 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.688, allocations: 35.97 kB / 1.033 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.688, allocations: 0 / 1.033 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.688, allocations: 4 kB / 1.033 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.688, allocations: 3.984 kB / 1.033 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.688, allocations: 4 kB / 1.033 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.6886, allocations: 264 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.6887, allocations: 104.8 kB / 1.033 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.6887, allocations: 0 / 1.033 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.6889, allocations: 27.97 kB / 1.033 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.6889, allocations: 15.98 kB / 1.033 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.689, allocations: 7.938 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000137/0.6891, allocations: 164.5 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6891, allocations: 0 / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002965/0.6894, allocations: 43.91 kB / 1.033 GB, free: 5.441 MB / 0.7794 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.0001608/0.6896, allocations: 119.1 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007632/0.6903, allocations: 354.5 kB / 1.034 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6904, allocations: 4 kB / 1.034 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.6907, allocations: 104.3 kB / 1.034 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.6911, allocations: 48.7 kB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.6918, allocations: 0.4884 MB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.6921, allocations: 0.7447 MB / 1.035 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.6922, allocations: 15.44 kB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6922, allocations: 0 / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of Templates: time 0.006194/0.6984, allocations: 3.003 MB / 1.038 GB, free: 0.5 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches