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.001468/0.001468, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001717/0.001717, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.698/2.698, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/0.7336, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002783/0.7364, allocations: 1.392 MB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.7386, allocations: 1.537 MB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.7387, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.7389, allocations: 19.8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.739, allocations: 51.56 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.7401, allocations: 473.5 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.7407, allocations: 0.6755 MB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.7411, allocations: 170.9 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.7414, allocations: 263.3 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.7416, allocations: 219.1 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.7417, allocations: 64 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.7418, allocations: 79.98 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.7419, allocations: 79.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.7422, allocations: 246.9 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.7428, allocations: 0.6738 MB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7428, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7428, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7428, allocations: 0 / 1.023 GB, free: 12.81 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.001289/0.7441, allocations: 0.9467 MB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7442, allocations: 12.03 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.7443, allocations: 48.47 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.7456, allocations: 479.7 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.7456, allocations: 24.94 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.7457, allocations: 40.38 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.7463, allocations: 321.3 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.7464, allocations: 3.938 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.7464, allocations: 19.98 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.7464, allocations: 8 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.747, allocations: 250.1 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.7486, allocations: 0.9121 MB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.7493, allocations: 379.1 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.7498, allocations: 282.4 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.7498, allocations: 4 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000564/0.7504, allocations: 334.9 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.907e-06/0.7504, allocations: 3.984 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001528/0.7519, allocations: 0.8381 MB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.7521, allocations: 183.9 kB / 1.027 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.7524, allocations: 296.4 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.7524, allocations: 45.64 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.7526, allocations: 160.9 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.7527, allocations: 138.1 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.7529, allocations: 130.1 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7531, allocations: 346.8 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.7537, allocations: 280.8 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.7543, allocations: 357.8 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.7555, allocations: 0.9128 MB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.7555, allocations: 3.938 kB / 1.03 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001586/0.7571, allocations: 0.9978 MB / 1.031 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.7573, allocations: 263.3 kB / 1.031 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7573, allocations: 0 / 1.031 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.7573, allocations: 4 kB / 1.031 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.7576, allocations: 63.89 kB / 1.031 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.7576, allocations: 7.938 kB / 1.031 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.7584, allocations: 151.5 kB / 1.031 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.7585, allocations: 63.92 kB / 1.032 GB, free: 2.988 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.0002803/0.7588, allocations: 322.1 kB / 1.032 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.7588, allocations: 43.52 kB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.7589, allocations: 39.5 kB / 1.032 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.7589, allocations: 4 kB / 1.032 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.7589, allocations: 3.984 kB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.7589, allocations: 0 / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.7607, allocations: 1.202 MB / 1.033 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7607, allocations: 0 / 1.033 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.761, allocations: 67.89 kB / 1.033 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.761, allocations: 3.938 kB / 1.033 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.761, allocations: 19.98 kB / 1.033 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.761, allocations: 0 / 1.033 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.761, allocations: 3.938 kB / 1.033 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.7621, allocations: 0.7613 MB / 1.034 GB, free: 360 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.7622, allocations: 116.7 kB / 1.034 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.7622, allocations: 8 kB / 1.034 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.7625, allocations: 27.97 kB / 1.034 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.7626, allocations: 39.89 kB / 1.034 GB, free: 148 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/0.7627, allocations: 51.88 kB / 1.034 GB, free: 96 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002432/0.7629, allocations: 203.1 kB / 1.034 GB, free: 15.89 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7629, allocations: 0 / 1.034 GB, free: 15.89 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004818/0.7634, allocations: 111.8 kB / 1.034 GB, free: 15.79 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.0002569/0.7637, allocations: 116.4 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.7654, allocations: 1.198 MB / 1.036 GB, free: 14.35 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7654, allocations: 0 / 1.036 GB, free: 14.35 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.766, allocations: 0.5164 MB / 1.036 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.7665, allocations: 94.56 kB / 1.036 GB, free: 13.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.7678, allocations: 0.9074 MB / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.7682, allocations: 0.7963 MB / 1.038 GB, free: 11.93 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002351/0.7685, allocations: 91.2 kB / 1.038 GB, free: 11.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.7685, allocations: 35.44 kB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.7686, allocations: 0 / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of Templates: time 0.01053/0.7791, allocations: 6.376 MB / 1.044 GB, free: 5.508 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=480 -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