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.001224/0.001224, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001221/0.001221, allocations: 183 kB / 17.34 MB, free: 5.738 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.435/2.435, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7795/0.7811, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.0021/0.7832, allocations: 0.9983 MB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.7848, allocations: 1.334 MB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.7849, allocations: 3.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.785, allocations: 23.8 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.547e-05/0.7851, allocations: 35.66 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.7858, allocations: 274.2 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.7862, allocations: 403.2 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.7864, allocations: 57.67 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.7866, allocations: 155.6 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.7868, allocations: 135.5 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.7869, allocations: 39.94 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.787, allocations: 59.97 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.7871, allocations: 51.84 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.7872, allocations: 143.3 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.7876, allocations: 400.4 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7876, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7876, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.7876, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9356 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.000884/0.7885, allocations: 0.6188 MB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.7886, allocations: 15.97 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.7887, allocations: 28.66 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.7896, allocations: 374.8 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.7896, allocations: 16.38 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.7896, allocations: 20.38 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.7901, allocations: 203.6 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7901, allocations: 7.938 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.7901, allocations: 4 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7901, allocations: 4 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.7906, allocations: 143.7 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.7917, allocations: 0.9187 MB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.792, allocations: 145 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.7922, allocations: 80.3 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.7923, allocations: 7.922 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.7927, allocations: 171.5 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.7927, allocations: 0 / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0008435/0.7935, allocations: 257.1 kB / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.7936, allocations: 162.6 kB / 1.215 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.7938, allocations: 221 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.7939, allocations: 29.7 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.794, allocations: 148.2 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.794, allocations: 39.53 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.7941, allocations: 53.69 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.7942, allocations: 338.8 kB / 1.216 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.7946, allocations: 107.8 kB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.7949, allocations: 173.4 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/0.7955, allocations: 266.9 kB / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7955, allocations: 0 / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000828/0.7964, allocations: 372.5 kB / 1.217 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.7964, allocations: 63.39 kB / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7964, allocations: 4 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7965, allocations: 4 kB / 1.217 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.7966, allocations: 28.19 kB / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.7966, allocations: 7.938 kB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.7971, allocations: 87.73 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.7972, allocations: 23.92 kB / 1.217 GB, free: 3.949 MB / 0.9356 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.0001587/0.7974, allocations: 151.5 kB / 1.217 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.7974, allocations: 19.81 kB / 1.218 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.7975, allocations: 21.23 kB / 1.218 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7975, allocations: 4 kB / 1.218 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7975, allocations: 4 kB / 1.218 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.7975, allocations: 7.938 kB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.7977, allocations: 261.4 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7977, allocations: 0 / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.7979, allocations: 27.91 kB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7979, allocations: 8 kB / 1.218 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.7979, allocations: 4 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7979, allocations: 4 kB / 1.218 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7979, allocations: 0 / 1.218 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.7985, allocations: 236.1 kB / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.7985, allocations: 92.86 kB / 1.218 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.7986, allocations: 8 kB / 1.218 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.7987, allocations: 23.91 kB / 1.218 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.7988, allocations: 15.98 kB / 1.218 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.7988, allocations: 4 kB / 1.218 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001315/0.7989, allocations: 168.4 kB / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7989, allocations: 0 / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003124/0.7993, allocations: 47.91 kB / 1.218 GB, free: 2.754 MB / 0.9356 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.0001878/0.7995, allocations: 123.2 kB / 1.219 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007487/0.8002, allocations: 343.1 kB / 1.219 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8002, allocations: 0 / 1.219 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.8005, allocations: 84.38 kB / 1.219 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.8009, allocations: 48.67 kB / 1.219 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006553/0.8015, allocations: 413.4 kB / 1.219 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.8018, allocations: 0.7476 MB / 1.22 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.8019, allocations: 27.38 kB / 1.22 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.8019, allocations: 4 kB / 1.22 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of Templates: time 0.00533/0.8072, allocations: 3.159 MB / 1.223 GB, free: 13.76 MB / 0.9512 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/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