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.00164/0.001639, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001851/0.001851, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.663/2.663, allocations: 437.1 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 68.02 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3788, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003362/0.3822, allocations: 1.351 MB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.385, allocations: 1.553 MB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.3853, allocations: 4 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.3856, allocations: 31.55 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.3858, allocations: 71.31 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.3872, allocations: 498.8 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009917/0.3882, allocations: 0.6873 MB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.3887, allocations: 173 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.3891, allocations: 247.4 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.3895, allocations: 219.1 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.3897, allocations: 68 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.3899, allocations: 71.98 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3901, allocations: 75.77 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.3905, allocations: 254.9 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.3914, allocations: 0.666 MB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3914, allocations: 0 / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3914, allocations: 4 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.3915, allocations: 0 / 1.024 GB, free: 4.711 MB / 0.795 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.001825/0.3933, allocations: 0.9351 MB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.3934, allocations: 8.922 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.3936, allocations: 52.45 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.3952, allocations: 479.7 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/0.3953, allocations: 32.92 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3954, allocations: 36.38 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.3962, allocations: 329.3 kB / 1.026 GB, free: 2.707 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3962, allocations: 3.938 kB / 1.026 GB, free: 2.703 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.3963, allocations: 8 kB / 1.026 GB, free: 2.695 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3963, allocations: 4 kB / 1.026 GB, free: 2.691 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/0.397, allocations: 258 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.399, allocations: 0.9236 MB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.3998, allocations: 383.5 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.4003, allocations: 280.7 kB / 1.027 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.4004, allocations: 4 kB / 1.027 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000623/0.401, allocations: 319 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.856e-06/0.401, allocations: 0 / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.001761/0.4028, allocations: 0.842 MB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.4029, allocations: 191.9 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.4032, allocations: 288.5 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/0.4033, allocations: 45.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.4035, allocations: 168.8 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.4037, allocations: 134.2 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.4039, allocations: 130.1 kB / 1.029 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4041, allocations: 346.8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.4048, allocations: 272.8 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.4055, allocations: 361.8 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.4069, allocations: 0.9166 MB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.4069, allocations: 7.938 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001767/0.4086, allocations: 0.9897 MB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.4088, allocations: 258.1 kB / 1.032 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.4089, allocations: 4 kB / 1.032 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.4089, allocations: 7.984 kB / 1.032 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.4092, allocations: 64.19 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.4092, allocations: 15.92 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/0.4101, allocations: 135.5 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4102, allocations: 67.92 kB / 1.033 GB, free: 10.91 MB / 0.8106 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.0003751/0.4106, allocations: 325.9 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.4107, allocations: 35.53 kB / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.4108, allocations: 39.48 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4108, allocations: 7.984 kB / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.4108, allocations: 11.94 kB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4108, allocations: 3.984 kB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.4129, allocations: 1.194 MB / 1.034 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4129, allocations: 7.984 kB / 1.034 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.4131, allocations: 67.89 kB / 1.034 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4132, allocations: 4 kB / 1.034 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.4132, allocations: 8 kB / 1.034 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4132, allocations: 0 / 1.034 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4132, allocations: 7.938 kB / 1.034 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.4145, allocations: 0.7652 MB / 1.035 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.4147, allocations: 112.6 kB / 1.035 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.4147, allocations: 11.98 kB / 1.035 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.415, allocations: 31.91 kB / 1.035 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.4151, allocations: 43.89 kB / 1.035 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/0.4152, allocations: 51.88 kB / 1.035 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002425/0.4154, allocations: 195.1 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4154, allocations: 0 / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005023/0.4159, allocations: 107.9 kB / 1.036 GB, free: 7.707 MB / 0.8106 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.0002296/0.4162, allocations: 119.2 kB / 1.036 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.4181, allocations: 1.198 MB / 1.037 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4182, allocations: 0 / 1.037 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.4189, allocations: 0.5286 MB / 1.038 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.4195, allocations: 86.42 kB / 1.038 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4211, allocations: 0.8425 MB / 1.038 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.4216, allocations: 0.7963 MB / 1.039 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.4217, allocations: 35.44 kB / 1.039 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.4217, allocations: 0 / 1.039 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of Templates: time 0.01123/0.4329, allocations: 5.576 MB / 1.045 GB, free: 14.32 MB / 0.8262 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/jenkins1/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