Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005025/0.005026, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.0011/0.0011, allocations: 193 kB / 16.67 MB, free: 6.352 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 472.6 MB / 0.7453 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.83 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4058, allocations: 159.9 MB / 1.226 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002601/0.4085, allocations: 1.345 MB / 1.227 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.4107, allocations: 1.54 MB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.4108, allocations: 4 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.4111, allocations: 35.55 kB / 1.229 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.4112, allocations: 63.38 kB / 1.229 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.4125, allocations: 0.5015 MB / 1.229 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.4132, allocations: 0.6833 MB / 1.23 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.4136, allocations: 174.4 kB / 1.23 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.4138, allocations: 251.4 kB / 1.23 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.4142, allocations: 247.1 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.4143, allocations: 64 kB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.4145, allocations: 79.97 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.4146, allocations: 79.77 kB / 1.231 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.4148, allocations: 246.9 kB / 1.231 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.4156, allocations: 0.685 MB / 1.231 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4156, allocations: 0 / 1.231 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4156, allocations: 4 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.4156, allocations: 0 / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001456/0.4171, allocations: 0.9542 MB / 1.232 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4171, allocations: 8.031 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.4173, allocations: 56.66 kB / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.4185, allocations: 484 kB / 1.233 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.4185, allocations: 24.94 kB / 1.233 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.4186, allocations: 44.36 kB / 1.233 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.4193, allocations: 325.3 kB / 1.233 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4193, allocations: 3.938 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.4193, allocations: 8 kB / 1.233 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4193, allocations: 4 kB / 1.233 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/0.42, allocations: 262 kB / 1.234 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.4216, allocations: 0.9043 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.4222, allocations: 383.1 kB / 1.235 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.4227, allocations: 291.3 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4228, allocations: 4 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005925/0.4234, allocations: 319 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 3.516e-06/0.4234, allocations: 3.938 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.00161/0.425, allocations: 0.8345 MB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.4251, allocations: 191.9 kB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.4255, allocations: 288.5 kB / 1.237 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.4255, allocations: 45.7 kB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.4257, allocations: 168.8 kB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4258, allocations: 138.9 kB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.426, allocations: 130.1 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002353/0.4263, allocations: 350.8 kB / 1.237 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.4269, allocations: 276.8 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.4276, allocations: 361.8 kB / 1.238 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.4288, allocations: 0.909 MB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.4289, allocations: 3.938 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001703/0.4306, allocations: 0.9939 MB / 1.24 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.4308, allocations: 263.6 kB / 1.24 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4308, allocations: 0 / 1.24 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.4309, allocations: 4 kB / 1.24 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.4312, allocations: 71.83 kB / 1.24 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.4312, allocations: 4 kB / 1.24 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.432, allocations: 151.5 kB / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4321, allocations: 71.91 kB / 1.24 GB, free: 9.324 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0004743/0.4326, allocations: 314.1 kB / 1.241 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.4327, allocations: 47.75 kB / 1.241 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.4328, allocations: 39.5 kB / 1.241 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4329, allocations: 4 kB / 1.241 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.4329, allocations: 3.984 kB / 1.241 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4329, allocations: 0 / 1.241 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.4348, allocations: 1.198 MB / 1.242 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4349, allocations: 0 / 1.242 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.4351, allocations: 63.89 kB / 1.242 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.4351, allocations: 4 kB / 1.242 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.4352, allocations: 16 kB / 1.242 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.4352, allocations: 7.984 kB / 1.242 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4352, allocations: 7.938 kB / 1.242 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4364, allocations: 0.755 MB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.4365, allocations: 120.8 kB / 1.243 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.4365, allocations: 8 kB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.4367, allocations: 31.91 kB / 1.243 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4369, allocations: 43.83 kB / 1.243 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.171e-05/0.437, allocations: 47.94 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001874/0.4371, allocations: 199 kB / 1.243 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4372, allocations: 0 / 1.243 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005112/0.4377, allocations: 119.9 kB / 1.243 GB, free: 6.117 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002232/0.4379, allocations: 111.2 kB / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.4394, allocations: 1.121 MB / 1.245 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4394, allocations: 0 / 1.245 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006509/0.4401, allocations: 0.5164 MB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.4407, allocations: 81.03 kB / 1.245 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.4424, allocations: 0.8128 MB / 1.246 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.4429, allocations: 0.7924 MB / 1.247 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.4432, allocations: 91.2 kB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.4433, allocations: 39.42 kB / 1.247 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.4433, allocations: 4 kB / 1.247 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of Templates: time 0.7674/1.211, allocations: 6.591 MB / 1.253 GB, free: 26.68 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches