Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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.",fileNamePrefix="Buildings_9_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.",fileNamePrefix="Buildings_9_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.001568/0.001568, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 196 kB / 16.79 MB, free: 6.809 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7385, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002093/0.7406, allocations: 1.043 MB / 0.9506 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.7421, allocations: 1.305 MB / 0.9519 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.7422, allocations: 6.531 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.7423, allocations: 7.922 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.808e-05/0.7425, allocations: 31.75 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.743, allocations: 231.3 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.7433, allocations: 288.1 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.7434, allocations: 59.45 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.7436, allocations: 99.48 kB / 0.9526 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.7437, allocations: 101.8 kB / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.7437, allocations: 14.22 kB / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.7438, allocations: 32.83 kB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.7439, allocations: 28.73 kB / 0.9527 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.744, allocations: 104.5 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.7442, allocations: 253.4 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.7442, allocations: 1.281 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7442, allocations: 0 / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7442, allocations: 7.938 kB / 0.9531 GB, free: 6.492 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007771/0.745, allocations: 0.5633 MB / 0.9536 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.7451, allocations: 13.59 kB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.7451, allocations: 26.19 kB / 0.9537 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.7454, allocations: 254.1 kB / 0.9539 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.7454, allocations: 15.33 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.7454, allocations: 16.91 kB / 0.954 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.7458, allocations: 180.3 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.7459, allocations: 192 / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.7459, allocations: 6.094 kB / 0.9541 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.7459, allocations: 2 kB / 0.9541 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.7464, allocations: 139.4 kB / 0.9543 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000899/0.7473, allocations: 0.8818 MB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.7476, allocations: 156.7 kB / 0.9553 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.7478, allocations: 87.73 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.7479, allocations: 5.094 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.7482, allocations: 179 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.7482, allocations: 0 / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008882/0.7491, allocations: 282.3 kB / 0.9558 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.7492, allocations: 169.4 kB / 0.956 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.7494, allocations: 198.8 kB / 0.9562 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.7494, allocations: 34.11 kB / 0.9562 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.7495, allocations: 139.7 kB / 0.9563 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.7495, allocations: 28.64 kB / 0.9564 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.7496, allocations: 50.47 kB / 0.9564 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.7497, allocations: 330.9 kB / 0.9567 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.7501, allocations: 125.7 kB / 0.9568 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.7504, allocations: 174.7 kB / 0.957 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.751, allocations: 303.3 kB / 0.9573 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.751, allocations: 0 / 0.9573 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000858/0.7518, allocations: 401.9 kB / 0.9577 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.7519, allocations: 69.11 kB / 0.9577 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7519, allocations: 2.625 kB / 0.9577 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7519, allocations: 2.562 kB / 0.9577 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.7521, allocations: 38.22 kB / 0.9578 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7521, allocations: 7.641 kB / 0.9578 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.7526, allocations: 74.47 kB / 0.9579 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.7526, allocations: 15.19 kB / 0.9579 GB, free: 2.383 MB / 0.7169 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.0001068/0.7527, allocations: 138.7 kB / 0.958 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.7528, allocations: 21.12 kB / 0.958 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.7528, allocations: 22.77 kB / 0.958 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.7528, allocations: 6 kB / 0.9581 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7528, allocations: 2.5 kB / 0.9581 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7528, allocations: 0 / 0.9581 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.753, allocations: 254.1 kB / 0.9583 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.753, allocations: 5.391 kB / 0.9583 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.7532, allocations: 24.69 kB / 0.9583 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7532, allocations: 6.719 kB / 0.9583 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.7532, allocations: 3.031 kB / 0.9583 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.7532, allocations: 9.344 kB / 0.9583 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7532, allocations: 5.359 kB / 0.9584 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.7537, allocations: 258.2 kB / 0.9586 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.7538, allocations: 98.66 kB / 0.9587 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.7538, allocations: 2.094 kB / 0.9587 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.754, allocations: 26.75 kB / 0.9587 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.754, allocations: 18.45 kB / 0.9587 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.7541, allocations: 4.438 kB / 0.9587 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.867e-05/0.7542, allocations: 149.3 kB / 0.9589 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7542, allocations: 0 / 0.9589 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000288/0.7545, allocations: 45.25 kB / 0.9589 GB, free: 1.5 MB / 0.7169 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.0001349/0.7546, allocations: 103.8 kB / 0.959 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007062/0.7553, allocations: 373.8 kB / 0.9594 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7553, allocations: 3.906 kB / 0.9594 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.7556, allocations: 105.4 kB / 0.9595 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.756, allocations: 40.75 kB / 0.9595 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.7566, allocations: 404.9 kB / 0.9599 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.7567, allocations: 0.727 MB / 0.9606 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.7568, allocations: 15.25 kB / 0.9606 GB, free: 16 kB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7568, allocations: 0 / 0.9606 GB, free: 16 kB / 0.7169 GB Notification: Performance of Templates: time 0.004736/0.7615, allocations: 2.701 MB / 0.9633 GB, free: 14.64 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches