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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001197/0.001197, allocations: 98.88 kB / 16.02 MB, free: 76 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.001544/0.001544, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006231/0.0006231, allocations: 10.56 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.343, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001749/0.3448, allocations: 1.028 MB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.3474, allocations: 1.607 MB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.3476, allocations: 4 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.3478, allocations: 27.67 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.348, allocations: 51.56 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3492, allocations: 469.1 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000646/0.3499, allocations: 0.5661 MB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.3503, allocations: 157.1 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.3507, allocations: 187.4 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.351, allocations: 171.2 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.3511, allocations: 24 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.3513, allocations: 43.92 kB / 1.064 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.3514, allocations: 59.7 kB / 1.064 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.3517, allocations: 216.6 kB / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.3523, allocations: 0.5025 MB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3523, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3523, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.547e-05/0.3524, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 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.001442/0.3538, allocations: 0.8572 MB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3539, allocations: 11.97 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.3541, allocations: 48.47 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.3556, allocations: 499.9 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.3557, allocations: 28.94 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3558, allocations: 40.38 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.3566, allocations: 341.2 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3566, allocations: 3.938 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.3566, allocations: 12 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3566, allocations: 4 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.3573, allocations: 286 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3592, allocations: 0.9315 MB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.3599, allocations: 390.6 kB / 1.068 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.3605, allocations: 300.7 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3606, allocations: 4 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000628/0.3612, allocations: 338.9 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 3.437e-06/0.3612, allocations: 0 / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001686/0.3629, allocations: 0.8646 MB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.363, allocations: 187.9 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.3633, allocations: 292.5 kB / 1.07 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/0.3634, allocations: 45.64 kB / 1.07 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3636, allocations: 180.7 kB / 1.07 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.3637, allocations: 122.3 kB / 1.07 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.3639, allocations: 61.69 kB / 1.07 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.364, allocations: 346.8 kB / 1.07 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.3647, allocations: 288.8 kB / 1.071 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/0.3654, allocations: 369.8 kB / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.3667, allocations: 0.9324 MB / 1.072 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3667, allocations: 3.938 kB / 1.072 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001748/0.3685, allocations: 1.025 MB / 1.073 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.3686, allocations: 260.9 kB / 1.073 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3687, allocations: 4 kB / 1.073 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3687, allocations: 4 kB / 1.073 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.369, allocations: 71.92 kB / 1.073 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.369, allocations: 4 kB / 1.073 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/0.3699, allocations: 197.9 kB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.37, allocations: 67.86 kB / 1.073 GB, free: 5.969 MB / 0.8262 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.000321/0.3703, allocations: 331.7 kB / 1.074 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.3704, allocations: 35.62 kB / 1.074 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.713e-05/0.3705, allocations: 39.48 kB / 1.074 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3705, allocations: 4 kB / 1.074 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3705, allocations: 4 kB / 1.074 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3705, allocations: 3.984 kB / 1.074 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.3725, allocations: 1.23 MB / 1.075 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3725, allocations: 0 / 1.075 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3727, allocations: 67.89 kB / 1.075 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3728, allocations: 4 kB / 1.075 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.3728, allocations: 12 kB / 1.075 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3728, allocations: 8 kB / 1.075 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.3728, allocations: 7.922 kB / 1.075 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.374, allocations: 0.7766 MB / 1.076 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.3741, allocations: 116.6 kB / 1.076 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.3742, allocations: 12 kB / 1.076 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3744, allocations: 31.97 kB / 1.076 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.3745, allocations: 43.84 kB / 1.076 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.3746, allocations: 51.88 kB / 1.076 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001901/0.3748, allocations: 195.1 kB / 1.076 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3748, allocations: 4 kB / 1.076 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004521/0.3753, allocations: 111.8 kB / 1.076 GB, free: 2.707 MB / 0.8262 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.0002077/0.3755, allocations: 119.9 kB / 1.077 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.3771, allocations: 1.137 MB / 1.078 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.3772, allocations: 0.5625 kB / 1.078 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/0.378, allocations: 0.5358 MB / 1.078 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.3786, allocations: 84.53 kB / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.38, allocations: 0.9369 MB / 1.079 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3804, allocations: 0.7966 MB / 1.08 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.3805, allocations: 31.44 kB / 1.08 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3805, allocations: 4 kB / 1.08 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.009733/0.3903, allocations: 5.567 MB / 1.085 GB, free: 9.305 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