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.001599/0.001599, allocations: 108 kB / 15.6 MB, free: 132 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.002251/0.002251, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.441 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.699/2.699, allocations: 437 MB / 0.7103 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.74, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003229/0.7433, allocations: 1.01 MB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.7457, allocations: 1.327 MB / 1.02 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.7459, allocations: 7.875 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.7461, allocations: 19.81 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.7463, allocations: 43.58 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.7475, allocations: 270.7 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.7482, allocations: 391.3 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.7485, allocations: 73.58 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.7489, allocations: 151.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000424/0.7493, allocations: 147.5 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.7495, allocations: 36 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.7496, allocations: 43.98 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.7497, allocations: 55.83 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.75, allocations: 131.4 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.7505, allocations: 384.9 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.7505, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7505, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.7505, allocations: 0 / 1.021 GB, free: 14.66 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.001093/0.7516, allocations: 0.6109 MB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.7517, allocations: 11.97 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.389e-05/0.7518, allocations: 28.66 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009644/0.7528, allocations: 370.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.7528, allocations: 16.36 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.7529, allocations: 20.38 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.7534, allocations: 198.9 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.7534, allocations: 7.938 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.7534, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.7534, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.7539, allocations: 143.7 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.7551, allocations: 0.9147 MB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.7555, allocations: 145 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.7558, allocations: 88.23 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.7558, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.7562, allocations: 179.4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.7562, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.000918/0.7571, allocations: 253.3 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/0.7572, allocations: 162.2 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.7575, allocations: 220.9 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.7575, allocations: 33.98 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.7576, allocations: 148.3 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.7577, allocations: 31.55 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.7578, allocations: 53.69 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7579, allocations: 334.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.7583, allocations: 107.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.7587, allocations: 155.6 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.7593, allocations: 278.9 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7593, allocations: 0 / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009059/0.7602, allocations: 376.6 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.7604, allocations: 63.41 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.7604, allocations: 0 / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.7604, allocations: 4.469 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.7606, allocations: 31.91 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7606, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.7611, allocations: 71.88 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.7611, allocations: 15.98 kB / 1.026 GB, free: 9.195 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.0001817/0.7613, allocations: 156 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.7614, allocations: 23.72 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.7614, allocations: 25.22 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.7614, allocations: 7.938 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7614, allocations: 4 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.7615, allocations: 4 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.7617, allocations: 257.5 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7617, allocations: 0 / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.7619, allocations: 23.97 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7619, allocations: 4 kB / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7619, allocations: 0 / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7619, allocations: 4 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7619, allocations: 0 / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.7626, allocations: 244.1 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.7626, allocations: 92.83 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.7627, allocations: 4 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.7628, allocations: 23.97 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.7629, allocations: 11.98 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.7629, allocations: 4 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001774/0.7631, allocations: 168.3 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7631, allocations: 7.938 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003093/0.7634, allocations: 55.83 kB / 1.027 GB, free: 7.988 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.0002078/0.7636, allocations: 103.2 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008366/0.7645, allocations: 346.6 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7645, allocations: 0 / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.7648, allocations: 75.88 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.7652, allocations: 62.03 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.7659, allocations: 383.8 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.7663, allocations: 0.7476 MB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.7664, allocations: 33.53 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.7665, allocations: 19.44 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7665, allocations: 0 / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of Templates: time 0.007125/0.7736, allocations: 3.015 MB / 1.032 GB, free: 3.156 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=480 -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