Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002201/0.002201, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.589/1.589, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.849/2.849, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8163, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002572/0.819, allocations: 1.077 MB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.821, allocations: 1.354 MB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.18e-05/0.8211, allocations: 4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.8213, allocations: 15.86 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.8214, allocations: 35.72 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.8222, allocations: 248.1 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.8226, allocations: 339.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.8228, allocations: 73.62 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.823, allocations: 127.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.8233, allocations: 143.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.8234, allocations: 16 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.8235, allocations: 31.92 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.8236, allocations: 43.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.8237, allocations: 123.4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.8242, allocations: 360.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8242, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8242, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8242, allocations: 4 kB / 1.021 GB, free: 14.79 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001045/0.8253, allocations: 0.6149 MB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8253, allocations: 8.031 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.8254, allocations: 28.66 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/0.8264, allocations: 382.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.8264, allocations: 12.38 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.8265, allocations: 24.31 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.827, allocations: 198.4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.827, allocations: 7.938 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.827, allocations: 7.984 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.827, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.8275, allocations: 143.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.8288, allocations: 0.9108 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.8292, allocations: 149 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.8295, allocations: 84.23 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.8295, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/0.83, allocations: 163.5 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.83, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0009057/0.8309, allocations: 253.2 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.831, allocations: 162.6 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.8313, allocations: 232.9 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.8314, allocations: 29.7 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.8315, allocations: 148.2 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.8316, allocations: 35.62 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.8317, allocations: 49.69 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.8319, allocations: 334.8 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.8323, allocations: 99.92 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.8327, allocations: 159.6 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.8333, allocations: 278.9 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.8333, allocations: 0 / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009074/0.8342, allocations: 380.4 kB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.8343, allocations: 68.8 kB / 1.025 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8344, allocations: 4 kB / 1.025 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.8344, allocations: 4 kB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.8346, allocations: 27.91 kB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.8346, allocations: 4.188 kB / 1.025 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.835, allocations: 67.86 kB / 1.025 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.835, allocations: 19.98 kB / 1.025 GB, free: 9.316 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0002004/0.8353, allocations: 145.8 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.8353, allocations: 23.66 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.8354, allocations: 29.23 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.8354, allocations: 0 / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.8354, allocations: 4 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8354, allocations: 0 / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.8357, allocations: 257.5 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8357, allocations: 4 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.8359, allocations: 28.38 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.8359, allocations: 0 / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.8359, allocations: 8 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8359, allocations: 4 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8359, allocations: 4 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.8365, allocations: 252 kB / 1.026 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.8366, allocations: 92.86 kB / 1.026 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.8367, allocations: 11.98 kB / 1.026 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.8368, allocations: 11.98 kB / 1.026 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.8369, allocations: 23.97 kB / 1.026 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.8369, allocations: 4 kB / 1.026 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001862/0.8371, allocations: 160.4 kB / 1.026 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8371, allocations: 4 kB / 1.026 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003062/0.8374, allocations: 43.91 kB / 1.026 GB, free: 8.121 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0002081/0.8376, allocations: 115.8 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008041/0.8384, allocations: 338.5 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8384, allocations: 0 / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.8387, allocations: 80.5 kB / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.8391, allocations: 44.41 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.8399, allocations: 460.1 kB / 1.027 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.8403, allocations: 0.7401 MB / 1.028 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.8405, allocations: 41.52 kB / 1.028 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.8405, allocations: 19.44 kB / 1.028 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.8405, allocations: 0 / 1.028 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of Templates: time 0.00731/0.8479, allocations: 2.757 MB / 1.031 GB, free: 3.48 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches