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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001116/0.001116, allocations: 103.3 kB / 16.27 MB, free: 5.98 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.001062/0.001062, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.03 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3545, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002714/0.3572, allocations: 1.314 MB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.3594, allocations: 1.568 MB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.3596, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.3598, allocations: 39.53 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.36, allocations: 63.44 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.3613, allocations: 489.3 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000766/0.3621, allocations: 0.695 MB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.3624, allocations: 157.2 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/0.3628, allocations: 247.4 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.3632, allocations: 215.2 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.3634, allocations: 64 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.3635, allocations: 79.92 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.836e-05/0.3637, allocations: 83.75 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.3639, allocations: 250.9 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.3646, allocations: 0.666 MB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3646, allocations: 0 / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3646, allocations: 0 / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.3647, allocations: 0 / 1.07 GB, free: 9.109 MB / 0.8419 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.001474/0.3661, allocations: 0.939 MB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3662, allocations: 11.97 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.3664, allocations: 56.47 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.3678, allocations: 471.8 kB / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.3678, allocations: 44.86 kB / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.3679, allocations: 32.38 kB / 1.072 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.3686, allocations: 333.2 kB / 1.072 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3686, allocations: 3.938 kB / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.3687, allocations: 8 kB / 1.072 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3687, allocations: 4 kB / 1.072 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.3693, allocations: 254.1 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.371, allocations: 0.9198 MB / 1.073 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/0.3718, allocations: 379.8 kB / 1.073 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.3723, allocations: 298.6 kB / 1.074 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3723, allocations: 4 kB / 1.074 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006082/0.3729, allocations: 319 kB / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 3.747e-06/0.3729, allocations: 4 kB / 1.074 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.0018/0.3747, allocations: 0.8265 MB / 1.075 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.3749, allocations: 195.9 kB / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.3754, allocations: 292.5 kB / 1.075 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/0.3755, allocations: 37.7 kB / 1.075 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.3757, allocations: 172.8 kB / 1.075 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3758, allocations: 126.2 kB / 1.076 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.3761, allocations: 138.1 kB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3762, allocations: 350.8 kB / 1.076 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.3769, allocations: 272.8 kB / 1.076 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.3776, allocations: 357.8 kB / 1.077 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.3789, allocations: 0.909 MB / 1.077 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.3789, allocations: 3.938 kB / 1.077 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.6458/1.025, allocations: 0.9892 MB / 1.078 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/1.025, allocations: 262.1 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.025, allocations: 3.969 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/1.025, allocations: 4.406 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/1.025, allocations: 66.72 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.025, allocations: 4.266 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/1.026, allocations: 144.5 kB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.026, allocations: 72.61 kB / 1.079 GB, free: 22.02 MB / 0.8419 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.0003342/1.027, allocations: 311.7 kB / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/1.027, allocations: 43.62 kB / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/1.027, allocations: 44 kB / 1.079 GB, free: 21.74 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.027, allocations: 6.5 kB / 1.079 GB, free: 21.74 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.027, allocations: 1.719 kB / 1.079 GB, free: 21.74 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.027, allocations: 5.797 kB / 1.079 GB, free: 21.74 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/1.03, allocations: 1.199 MB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.03, allocations: 1.156 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/1.03, allocations: 64.77 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.03, allocations: 2.188 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/1.03, allocations: 15.03 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/1.03, allocations: 7.969 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.03, allocations: 0.7969 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/1.032, allocations: 0.7686 MB / 1.081 GB, free: 20.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.032, allocations: 110.2 kB / 1.082 GB, free: 20.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/1.032, allocations: 12.48 kB / 1.082 GB, free: 20.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/1.032, allocations: 38.98 kB / 1.082 GB, free: 20.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.032, allocations: 34.12 kB / 1.082 GB, free: 20.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.032, allocations: 47.67 kB / 1.082 GB, free: 20.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003162/1.033, allocations: 199.1 kB / 1.082 GB, free: 20.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.033, allocations: 0 / 1.082 GB, free: 20.81 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008149/1.034, allocations: 109.6 kB / 1.082 GB, free: 20.81 MB / 0.8419 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.0002202/1.034, allocations: 121.7 kB / 1.082 GB, free: 20.72 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001879/1.036, allocations: 1.2 MB / 1.083 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.036, allocations: 4.75 kB / 1.083 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000602/1.036, allocations: 0.5181 MB / 1.084 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/1.037, allocations: 82.66 kB / 1.084 GB, free: 19.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/1.038, allocations: 0.8399 MB / 1.085 GB, free: 19.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/1.039, allocations: 0.7966 MB / 1.085 GB, free: 18.53 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/1.039, allocations: 41.25 kB / 1.085 GB, free: 18.52 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/1.039, allocations: 1.219 kB / 1.085 GB, free: 18.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.01286/1.052, allocations: 5.587 MB / 1.091 GB, free: 17.99 MB / 0.8419 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/jenkins1/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