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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001611/0.001611, 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.001855/0.001855, allocations: 199 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.452/1.452, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437 MB / 0.7106 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6441, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003205/0.6474, allocations: 1.062 MB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.6498, allocations: 1.366 MB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.65, allocations: 0 / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.6502, allocations: 15.86 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.6504, allocations: 39.72 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.6514, allocations: 242.8 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.6519, allocations: 331.3 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.6521, allocations: 77.56 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.6524, allocations: 139.6 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.6528, allocations: 135.5 kB / 1.021 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.6529, allocations: 16 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.653, allocations: 31.98 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.6531, allocations: 47.78 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.6534, allocations: 119.4 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.6538, allocations: 289.3 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6538, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6538, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.6538, allocations: 4 kB / 1.021 GB, free: 14.88 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.001228/0.655, allocations: 0.6071 MB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.6551, allocations: 12.03 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.6552, allocations: 32.66 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.6564, allocations: 378.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.6565, allocations: 12.38 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.6565, allocations: 20.38 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.6571, allocations: 206.3 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6572, allocations: 7.922 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.6572, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.6572, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.6579, allocations: 143.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.6595, allocations: 0.9107 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.6599, allocations: 149 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.6602, allocations: 76.3 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.6602, allocations: 7.938 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004763/0.6607, allocations: 171.5 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.6607, allocations: 0 / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.00117/0.6619, allocations: 253.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/0.6621, allocations: 166.6 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.6625, allocations: 224.9 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.6626, allocations: 29.7 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.6627, allocations: 156.2 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.6628, allocations: 23.66 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.6629, allocations: 49.69 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6631, allocations: 346.7 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.6635, allocations: 99.91 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.664, allocations: 167.6 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.6648, allocations: 266.9 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6648, allocations: 0 / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001164/0.666, allocations: 376.4 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/0.6661, allocations: 67.39 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6661, allocations: 0 / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6661, allocations: 8 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.6663, allocations: 28.19 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.6663, allocations: 7.938 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.6669, allocations: 71.86 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.667, allocations: 11.98 kB / 1.026 GB, free: 9.406 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.0002888/0.6673, allocations: 146.3 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.6673, allocations: 31.7 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.6674, allocations: 17.25 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6674, allocations: 4 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6674, allocations: 0 / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6674, allocations: 7.984 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.6678, allocations: 253.5 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6678, allocations: 0 / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.6679, allocations: 27.91 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.668, allocations: 8 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.668, allocations: 8 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.668, allocations: 3.984 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.668, allocations: 0 / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.6688, allocations: 240.5 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.6689, allocations: 100.8 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.6689, allocations: 4 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.6691, allocations: 19.97 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.6692, allocations: 15.98 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.6692, allocations: 7.984 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001813/0.6694, allocations: 168.4 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6694, allocations: 0 / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005644/0.67, allocations: 43.91 kB / 1.027 GB, free: 8.211 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.0002025/0.6702, allocations: 115.1 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.6712, allocations: 334.5 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6712, allocations: 0 / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.6716, allocations: 96.36 kB / 1.028 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.6721, allocations: 40.41 kB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009735/0.6731, allocations: 487.2 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.6736, allocations: 0.7518 MB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.6737, allocations: 15.44 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.6737, allocations: 0 / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of Templates: time 0.007482/0.6812, allocations: 3.019 MB / 1.032 GB, free: 3.293 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/jenkins1/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