Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001124/0.001124, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 437 MB / 0.71 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001602, allocations: 55.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8134/0.815, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002355/0.8174, allocations: 0.9319 MB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.8191, allocations: 1.288 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.8192, allocations: 8 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.8193, allocations: 15.86 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.8194, allocations: 19.86 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007474/0.8201, allocations: 249.3 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.8205, allocations: 339.5 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.8207, allocations: 61.36 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.8209, allocations: 135.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.8211, allocations: 127.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.8212, allocations: 28 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.8213, allocations: 47.98 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.8214, allocations: 39.91 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.8215, allocations: 119.4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.8219, allocations: 328.9 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.8219, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8219, allocations: 4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.8219, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 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.000696/0.8226, allocations: 0.5371 MB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8227, allocations: 12.03 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.8227, allocations: 32.59 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.8234, allocations: 292 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.8234, allocations: 12.38 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.8235, allocations: 20.31 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.8237, allocations: 155.1 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8237, allocations: 3.938 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.8238, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.8238, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.8239, allocations: 59.91 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007934/0.8247, allocations: 0.7507 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.8248, allocations: 65.23 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.8248, allocations: 25.72 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.8249, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.825, allocations: 101 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.825, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003159/0.8254, allocations: 125.4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.8254, allocations: 85.11 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.8256, allocations: 220.6 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.8257, allocations: 29.7 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.8258, allocations: 139.8 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.8258, allocations: 23.73 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.8259, allocations: 57.69 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8261, allocations: 330.8 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.8262, allocations: 63.97 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.8264, allocations: 120.9 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.8267, allocations: 198.1 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8267, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004761/0.8272, allocations: 297.1 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/0.8272, allocations: 67.41 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.8272, allocations: 4.188 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8273, allocations: 4 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.8273, allocations: 11.98 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8274, allocations: 3.938 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.8277, allocations: 51.94 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.8277, allocations: 12 kB / 1.024 GB, free: 10.77 MB / 0.7794 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.0001617/0.8279, allocations: 158.2 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.8279, allocations: 15.81 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.828, allocations: 16.94 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.828, allocations: 0 / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.828, allocations: 4 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.828, allocations: 3.984 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.8282, allocations: 229.5 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8282, allocations: 3.984 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.8283, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.8283, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.8283, allocations: 11.94 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8283, allocations: 3.938 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8283, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.8285, allocations: 129.7 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.8286, allocations: 92.91 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.8286, allocations: 4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.82e-05/0.8286, allocations: 4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.8287, allocations: 7.984 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.8287, allocations: 4 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001192/0.8288, allocations: 148.5 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8288, allocations: 0 / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002572/0.8291, allocations: 47.84 kB / 1.025 GB, free: 9.805 MB / 0.7794 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.0001698/0.8292, allocations: 108.4 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.8296, allocations: 262.7 kB / 1.025 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8297, allocations: 3.938 kB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.8297, allocations: 31.92 kB / 1.025 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.83, allocations: 39.91 kB / 1.025 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.8306, allocations: 345.3 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.8309, allocations: 0.7319 MB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.812e-05/0.831, allocations: 21.55 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.831, allocations: 15.44 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.831, allocations: 0 / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.005501/0.8365, allocations: 2.372 MB / 1.029 GB, free: 5.828 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches