Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001222/0.001222, allocations: 105.5 kB / 16.41 MB, free: 6.465 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.001265/0.001265, allocations: 187 kB / 17.34 MB, free: 5.719 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.51/1.51, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.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.312/2.312, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7863, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002243/0.7886, allocations: 0.8737 MB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.7902, allocations: 1.292 MB / 1.091 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.7903, allocations: 2.188 kB / 1.091 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.7904, allocations: 19.31 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/0.7905, allocations: 33.75 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/0.7913, allocations: 265.4 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.7918, allocations: 344.8 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.792, allocations: 62.27 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.7922, allocations: 133.6 kB / 1.092 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.7924, allocations: 107.1 kB / 1.092 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.7924, allocations: 29.44 kB / 1.092 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.7926, allocations: 53.25 kB / 1.092 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.7927, allocations: 46.39 kB / 1.092 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.7928, allocations: 119.7 kB / 1.092 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.7934, allocations: 347.9 kB / 1.092 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7934, allocations: 4.75 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7934, allocations: 0 / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.7934, allocations: 0 / 1.092 GB, free: 3.551 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006934/0.7941, allocations: 0.5427 MB / 1.093 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7942, allocations: 9 kB / 1.093 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.7942, allocations: 27.45 kB / 1.093 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.7949, allocations: 302.4 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.7949, allocations: 16.38 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.795, allocations: 20.53 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.7952, allocations: 152.6 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7952, allocations: 3.938 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.7952, allocations: 6.828 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.7953, allocations: 2.938 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.7954, allocations: 66.84 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.7962, allocations: 0.7588 MB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.7963, allocations: 63 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.7963, allocations: 23.41 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.7963, allocations: 1.094 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.7966, allocations: 100.7 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.7966, allocations: 7.938 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003254/0.7969, allocations: 121.4 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.7969, allocations: 84.12 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.7972, allocations: 210.8 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.7972, allocations: 34.14 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.7973, allocations: 140.5 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.7973, allocations: 23.42 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.7975, allocations: 65.73 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.7975, allocations: 336.1 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.7977, allocations: 61.33 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.7979, allocations: 130.5 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.7981, allocations: 193.7 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7981, allocations: 0.9375 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00055/0.7987, allocations: 301.8 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.7988, allocations: 67.39 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7988, allocations: 2.594 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.7988, allocations: 2.125 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.7989, allocations: 9.031 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7989, allocations: 3.594 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.7993, allocations: 72.16 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.7994, allocations: 14.03 kB / 1.096 GB, free: 468 kB / 0.8575 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.0001295/0.7995, allocations: 155.7 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.7995, allocations: 19.77 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.7996, allocations: 22.94 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7996, allocations: 1.562 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7996, allocations: 1.266 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7996, allocations: 1.953 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.7998, allocations: 236.4 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7998, allocations: 0.7812 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.7998, allocations: 4.578 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7999, allocations: 1.984 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.7999, allocations: 2.266 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7999, allocations: 0.8125 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7999, allocations: 5.688 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.8001, allocations: 140.8 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.8002, allocations: 86.94 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.8002, allocations: 1.891 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.8002, allocations: 5.828 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.8003, allocations: 5.297 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.8003, allocations: 4.438 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001427/0.8004, allocations: 145.2 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8004, allocations: 1.062 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002978/0.8007, allocations: 56.67 kB / 1.097 GB, free: 15.74 MB / 0.8731 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.0001807/0.8009, allocations: 114.8 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.8014, allocations: 253.6 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8014, allocations: 0 / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.8015, allocations: 36.41 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.8018, allocations: 39.78 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.8024, allocations: 333.7 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.8027, allocations: 0.7244 MB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.8028, allocations: 20.94 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of SimCode: time 4.5e-07/0.8028, allocations: 4 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.00741/0.8102, allocations: 2.589 MB / 1.101 GB, free: 14.23 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches