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.001569/0.00157, allocations: 109.3 kB / 15.99 MB, free: 5.91 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.001713/0.001713, allocations: 196.1 kB / 16.91 MB, free: 5.754 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.312/1.312, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.56/2.56, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.56 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3137, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002332/0.3161, allocations: 0.9181 MB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3179, allocations: 1.295 MB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.318, allocations: 0 / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.3181, allocations: 11.86 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.3182, allocations: 23.8 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.3189, allocations: 249.9 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.3193, allocations: 343.4 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.3195, allocations: 57.47 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.3197, allocations: 139.6 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.3199, allocations: 127.6 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.32, allocations: 28 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.3201, allocations: 43.98 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.3202, allocations: 47.78 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3203, allocations: 115.5 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.3206, allocations: 247.7 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3206, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.476e-06/0.3206, allocations: 11.94 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3206, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 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.0007399/0.3214, allocations: 0.5332 MB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3214, allocations: 12.03 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.3215, allocations: 24.73 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.3222, allocations: 296 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3222, allocations: 12.38 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.3223, allocations: 24.38 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.3225, allocations: 146.9 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3225, allocations: 3.938 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3226, allocations: 7.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3226, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3227, allocations: 63.91 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.3235, allocations: 0.7508 MB / 1.07 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3236, allocations: 61.14 kB / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.3237, allocations: 25.72 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.3237, allocations: 4 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.324, allocations: 105 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.324, allocations: 0 / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0002948/0.3243, allocations: 125.7 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3243, allocations: 81.05 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3246, allocations: 215.6 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3246, allocations: 37.7 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3247, allocations: 139.8 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.3248, allocations: 19.8 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3249, allocations: 61.69 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.325, allocations: 326.8 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3252, allocations: 67.97 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3254, allocations: 121 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.3256, allocations: 194.1 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3256, allocations: 4 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004873/0.3261, allocations: 292.8 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.3262, allocations: 75.33 kB / 1.071 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3262, allocations: 3.984 kB / 1.071 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3262, allocations: 7.984 kB / 1.071 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.3263, allocations: 15.92 kB / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3263, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.3266, allocations: 63.97 kB / 1.071 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.3267, allocations: 12 kB / 1.071 GB, free: 7.234 MB / 0.8419 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.0001599/0.3268, allocations: 157.7 kB / 1.072 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.3269, allocations: 15.81 kB / 1.072 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.3269, allocations: 12.94 kB / 1.072 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3269, allocations: 0 / 1.072 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3269, allocations: 4 kB / 1.072 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3269, allocations: 4 kB / 1.072 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3272, allocations: 237.5 kB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3272, allocations: 0 / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.3272, allocations: 7.984 kB / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3272, allocations: 0 / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3272, allocations: 0 / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3272, allocations: 4 kB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3273, allocations: 0 / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.3274, allocations: 145.6 kB / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.3275, allocations: 88.92 kB / 1.072 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3275, allocations: 3.984 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.834e-05/0.3276, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3276, allocations: 8 kB / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3276, allocations: 7.984 kB / 1.072 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001247/0.3278, allocations: 145.5 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3278, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002627/0.328, allocations: 47.94 kB / 1.072 GB, free: 6.27 MB / 0.8419 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.0001719/0.3282, allocations: 107.2 kB / 1.072 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.3286, allocations: 254.6 kB / 1.073 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3287, allocations: 4 kB / 1.073 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.3287, allocations: 31.98 kB / 1.073 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.329, allocations: 44.22 kB / 1.073 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.3296, allocations: 382.4 kB / 1.073 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.33, allocations: 0.728 MB / 1.074 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3301, allocations: 15.44 kB / 1.074 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3301, allocations: 0 / 1.074 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of Templates: time 0.004535/0.3346, allocations: 2.484 MB / 1.076 GB, free: 2.16 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/jenkins1/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