Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00157/0.00157, 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.001899/0.001899, allocations: 191.8 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.852/2.852, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 67.89 kB / 0.8692 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7331/0.7353, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002896/0.7383, allocations: 1.339 MB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.7407, allocations: 1.549 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.7408, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.741, allocations: 35.53 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.7412, allocations: 63.38 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.7425, allocations: 0.4893 MB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007618/0.7433, allocations: 0.6833 MB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.7436, allocations: 170.9 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.7439, allocations: 259.3 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.7442, allocations: 215.1 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.7443, allocations: 64 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.7445, allocations: 79.98 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.7447, allocations: 75.77 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.745, allocations: 246.9 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007517/0.7458, allocations: 0.6738 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7458, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7458, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.7458, allocations: 0 / 1.023 GB, free: 12.52 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001587/0.7474, allocations: 0.9428 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.7474, allocations: 8.031 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.7476, allocations: 48.47 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.749, allocations: 479.7 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.7491, allocations: 24.94 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-05/0.7492, allocations: 40.38 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.7499, allocations: 325.3 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.7499, allocations: 3.938 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.7499, allocations: 12 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.75, allocations: 8 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.7507, allocations: 258 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.7525, allocations: 0.912 MB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.7532, allocations: 382.5 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.7538, allocations: 286.4 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.7538, allocations: 8 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006129/0.7544, allocations: 319 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.7544, allocations: 0 / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.00175/0.7562, allocations: 0.842 MB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.7564, allocations: 191.9 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.7567, allocations: 292.4 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/0.7568, allocations: 41.7 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.757, allocations: 168.8 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.7571, allocations: 130.1 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.7573, allocations: 134.1 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.7575, allocations: 346.8 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.7582, allocations: 284.8 kB / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.7589, allocations: 357.8 kB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.7603, allocations: 0.9128 MB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.7603, allocations: 3.938 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001829/0.7621, allocations: 0.9936 MB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.7623, allocations: 263.3 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7623, allocations: 0 / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.7623, allocations: 4 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.7626, allocations: 68.17 kB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.7627, allocations: 7.938 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/0.7635, allocations: 147.5 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.7636, allocations: 63.92 kB / 1.032 GB, free: 2.703 MB / 0.7794 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.000348/0.7639, allocations: 314.2 kB / 1.032 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.764, allocations: 39.53 kB / 1.032 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/0.7641, allocations: 43.42 kB / 1.032 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7641, allocations: 8 kB / 1.032 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.7641, allocations: 0 / 1.032 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.7641, allocations: 0 / 1.032 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.7661, allocations: 1.202 MB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7661, allocations: 0 / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.7663, allocations: 67.89 kB / 1.034 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.7663, allocations: 0 / 1.034 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.7664, allocations: 23.86 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7664, allocations: 0 / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7664, allocations: 3.938 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.7677, allocations: 0.7691 MB / 1.034 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.7678, allocations: 108.7 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.7679, allocations: 12 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.7681, allocations: 23.97 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7683, allocations: 43.89 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.7684, allocations: 55.86 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002722/0.7686, allocations: 199.1 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7687, allocations: 0 / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005444/0.7692, allocations: 111.8 kB / 1.035 GB, free: 15.5 MB / 0.795 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.0002325/0.7694, allocations: 120.1 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.7712, allocations: 1.194 MB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.7713, allocations: 0 / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/0.7719, allocations: 0.5247 MB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.7726, allocations: 96.45 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.774, allocations: 0.7863 MB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.7745, allocations: 0.7963 MB / 1.038 GB, free: 11.76 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002401/0.7747, allocations: 91.2 kB / 1.039 GB, free: 11.67 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.7748, allocations: 39.44 kB / 1.039 GB, free: 11.63 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.7748, allocations: 0 / 1.039 GB, free: 11.63 MB / 0.795 GB Notification: Performance of Templates: time 0.01325/0.7881, allocations: 6.55 MB / 1.045 GB, free: 5.152 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches