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.001414/0.001414, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00148/0.00148, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.09 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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.8806, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001955/0.8826, allocations: 0.8752 MB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.8841, allocations: 1.292 MB / 1.091 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.8842, allocations: 6.344 kB / 1.091 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.8843, allocations: 19.98 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.8844, allocations: 31.36 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/0.8852, allocations: 265.3 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000551/0.8858, allocations: 337.3 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.886, allocations: 64.95 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.8862, allocations: 130.1 kB / 1.092 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.8864, allocations: 107.4 kB / 1.092 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.908e-05/0.8865, allocations: 29.81 kB / 1.092 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.8866, allocations: 53.84 kB / 1.092 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.8867, allocations: 49.5 kB / 1.092 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.8868, allocations: 119.1 kB / 1.092 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.8873, allocations: 353.4 kB / 1.092 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8873, allocations: 0 / 1.092 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8873, allocations: 0 / 1.092 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.8873, allocations: 0.8438 kB / 1.092 GB, free: 3.562 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.0006422/0.888, allocations: 0.5373 MB / 1.093 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.888, allocations: 14.09 kB / 1.093 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.8881, allocations: 30.81 kB / 1.093 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.8888, allocations: 302.2 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.8888, allocations: 13 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.8888, allocations: 19.98 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.8891, allocations: 156.9 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.8891, allocations: 4.719 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.8892, allocations: 6.266 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.8892, allocations: 2.844 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.8893, allocations: 67.28 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.89, allocations: 0.7508 MB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.426e-05/0.8901, allocations: 59.12 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.8902, allocations: 26.72 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.8902, allocations: 0.7188 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.8904, allocations: 109.3 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.8904, allocations: 0 / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003036/0.8907, allocations: 122 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.8908, allocations: 87.5 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.891, allocations: 211.5 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.891, allocations: 29.89 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.8911, allocations: 143.6 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.8911, allocations: 20.41 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.8913, allocations: 68.95 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.8914, allocations: 328 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.8915, allocations: 66.03 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.8917, allocations: 130.2 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.8919, allocations: 197.1 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8919, allocations: 1.406 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005087/0.8924, allocations: 301.5 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.8925, allocations: 64.02 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8925, allocations: 2.062 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.8925, allocations: 2.531 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.8926, allocations: 9.266 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8926, allocations: 11.52 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.8931, allocations: 72.31 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.8931, allocations: 21.5 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.0001269/0.8933, allocations: 150.9 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.8933, allocations: 15.8 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.8933, allocations: 20 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8934, allocations: 1.938 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8934, allocations: 0.5 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.8934, allocations: 1.109 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.8936, allocations: 229.4 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8936, allocations: 0.9062 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.8936, allocations: 9.453 kB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.8936, allocations: 4.719 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.8936, allocations: 2.672 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8936, allocations: 5 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8936, allocations: 4.609 kB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.8939, allocations: 133.8 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.8939, allocations: 94.11 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.894, allocations: 2.531 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.301e-05/0.894, allocations: 1.422 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.894, allocations: 5.469 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.8941, allocations: 12.61 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001383/0.8942, allocations: 142.1 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8942, allocations: 0 / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00029/0.8945, allocations: 53.7 kB / 1.097 GB, free: 15.76 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.0001819/0.8947, allocations: 116 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.8951, allocations: 257.8 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8952, allocations: 384 / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.09e-05/0.8952, allocations: 40.39 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.0003078/0.8956, allocations: 30.83 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.8962, allocations: 325.4 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.8965, allocations: 0.7321 MB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.8965, allocations: 15.75 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8966, allocations: 3.938 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of Templates: time 0.005556/0.9021, allocations: 2.596 MB / 1.101 GB, free: 14.24 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