Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009701, allocations: 97.64 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.00684/0.00684, 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.654/1.654, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.249/3.249, allocations: 470.6 MB / 0.7442 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 9.812 kB / 0.9123 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3857, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001346/0.3871, allocations: 0.5771 MB / 1.07 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.3891, allocations: 1.326 MB / 1.072 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.3892, allocations: 4 kB / 1.072 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.3893, allocations: 11.86 kB / 1.072 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.3894, allocations: 27.78 kB / 1.072 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.3902, allocations: 238.6 kB / 1.072 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.3905, allocations: 291.4 kB / 1.072 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.3907, allocations: 53.47 kB / 1.072 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3909, allocations: 103.7 kB / 1.072 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.3912, allocations: 107.6 kB / 1.073 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.3912, allocations: 12 kB / 1.073 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.082e-05/0.3913, allocations: 23.98 kB / 1.073 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.3914, allocations: 31.86 kB / 1.073 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.3916, allocations: 121.1 kB / 1.073 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.392, allocations: 315.2 kB / 1.073 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.392, allocations: 0 / 1.073 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.484e-06/0.392, allocations: 0 / 1.073 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.392, allocations: 0 / 1.073 GB, free: 8.164 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007731/0.3928, allocations: 0.4904 MB / 1.074 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3928, allocations: 8.031 kB / 1.074 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.489e-05/0.3929, allocations: 28.66 kB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.3937, allocations: 300 kB / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3937, allocations: 12.38 kB / 1.074 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.3938, allocations: 20.38 kB / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3941, allocations: 145.6 kB / 1.074 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3941, allocations: 3.938 kB / 1.074 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.3941, allocations: 8 kB / 1.074 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3941, allocations: 3.984 kB / 1.074 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.3943, allocations: 75.83 kB / 1.074 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000951/0.3952, allocations: 0.7508 MB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3953, allocations: 57.16 kB / 1.075 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.3954, allocations: 33.64 kB / 1.075 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3954, allocations: 0 / 1.075 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.3957, allocations: 97.08 kB / 1.075 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.113e-06/0.3957, allocations: 0 / 1.075 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003251/0.396, allocations: 129.4 kB / 1.075 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.3961, allocations: 81.11 kB / 1.075 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3964, allocations: 215.5 kB / 1.075 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.3964, allocations: 37.69 kB / 1.075 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3965, allocations: 143.8 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.3966, allocations: 3.906 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3967, allocations: 37.7 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3969, allocations: 334.8 kB / 1.076 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.397, allocations: 63.91 kB / 1.076 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.3972, allocations: 114.8 kB / 1.076 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.3975, allocations: 202.1 kB / 1.076 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3976, allocations: 0 / 1.076 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006109/0.3982, allocations: 296.8 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.558e-05/0.3982, allocations: 59.41 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.3983, allocations: 8 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3983, allocations: 0 / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.756e-05/0.3984, allocations: 19.92 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.3984, allocations: 4 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.3988, allocations: 79.88 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.3988, allocations: 11.98 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.000208/0.399, allocations: 151 kB / 1.077 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.3991, allocations: 19.81 kB / 1.077 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.3991, allocations: 16.94 kB / 1.077 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3991, allocations: 3.984 kB / 1.077 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.3991, allocations: 4 kB / 1.077 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3992, allocations: 0 / 1.077 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.3995, allocations: 233.5 kB / 1.077 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3995, allocations: 0 / 1.077 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.3995, allocations: 4 kB / 1.077 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3995, allocations: 3.938 kB / 1.077 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3995, allocations: 8 kB / 1.077 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3996, allocations: 4 kB / 1.077 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3996, allocations: 0 / 1.077 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3998, allocations: 134.1 kB / 1.077 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.3999, allocations: 92.91 kB / 1.077 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3999, allocations: 7.938 kB / 1.077 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.851e-05/0.3999, allocations: 0 / 1.077 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.4, allocations: 15.97 kB / 1.077 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.4, allocations: 4 kB / 1.077 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001632/0.4002, allocations: 145.5 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4002, allocations: 0 / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002909/0.4005, allocations: 47.84 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002087/0.4007, allocations: 104.2 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.4012, allocations: 254.9 kB / 1.078 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4012, allocations: 4.125 kB / 1.078 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.549e-05/0.4013, allocations: 31.98 kB / 1.078 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4016, allocations: 35.91 kB / 1.078 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.4023, allocations: 353.6 kB / 1.078 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.4027, allocations: 0.7283 MB / 1.079 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.965e-05/0.4028, allocations: 17.55 kB / 1.079 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.4029, allocations: 23.42 kB / 1.079 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of SimCode: time 7.11e-07/0.4029, allocations: 0 / 1.079 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of Templates: time 0.006749/0.4096, allocations: 2.267 MB / 1.081 GB, free: 15.12 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches