Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 148 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.001403/0.001403, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.599/2.599, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.5432, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005831/0.5491, allocations: 4.359 MB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.5519, allocations: 1.862 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.5521, allocations: 8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.5537, allocations: 0.5915 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.5543, allocations: 262.6 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.5549, allocations: 259 kB / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.5556, allocations: 0.6112 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000635/0.5562, allocations: 473 kB / 1.026 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.5565, allocations: 247.2 kB / 1.026 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004468/0.557, allocations: 267 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/0.557, allocations: 36 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.5575, allocations: 251.5 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.5576, allocations: 159.5 kB / 1.027 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.5578, allocations: 215 kB / 1.027 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.5585, allocations: 0.6036 MB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5585, allocations: 0 / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5585, allocations: 0 / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.5585, allocations: 0 / 1.027 GB, free: 8.305 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001143/0.5596, allocations: 0.7135 MB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5597, allocations: 12.03 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/0.5598, allocations: 90.62 kB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009371/0.5607, allocations: 148.3 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.5611, allocations: 326.5 kB / 1.029 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.5611, allocations: 29.38 kB / 1.029 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.5612, allocations: 28.38 kB / 1.029 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.5619, allocations: 0.5393 MB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5619, allocations: 4 kB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.5619, allocations: 12 kB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/0.562, allocations: 28.64 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.5625, allocations: 386.3 kB / 1.03 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.5648, allocations: 2.411 MB / 1.032 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.5652, allocations: 262.5 kB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.5654, allocations: 108.8 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.5654, allocations: 4 kB / 1.032 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.5654, allocations: 34.55 kB / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.5655, allocations: 0 / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001955/0.5674, allocations: 1.134 MB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.5675, allocations: 55.41 kB / 1.033 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.5677, allocations: 304.4 kB / 1.034 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.5678, allocations: 29.7 kB / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5679, allocations: 227.6 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.5679, allocations: 82.84 kB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.568, allocations: 65.88 kB / 1.034 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.5681, allocations: 342.8 kB / 1.034 GB, free: 468 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.5683, allocations: 100.6 kB / 1.035 GB, free: 368 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.5685, allocations: 191.7 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.5689, allocations: 314.3 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5689, allocations: 0 / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006764/0.5696, allocations: 450.4 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5696, allocations: 4 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5696, allocations: 4 kB / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003459/0.5699, allocations: 102.8 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.5702, allocations: 59.91 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.573, allocations: 4.399 MB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.5732, allocations: 8 kB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.5733, allocations: 16 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.5735, allocations: 183.3 kB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.5735, allocations: 35.56 kB / 1.04 GB, free: 10.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/0.5736, allocations: 42.31 kB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5736, allocations: 0 / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5736, allocations: 7.938 kB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5736, allocations: 3.984 kB / 1.04 GB, free: 10.04 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.5741, allocations: 393.4 kB / 1.041 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.5741, allocations: 3.938 kB / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.5742, allocations: 35.98 kB / 1.041 GB, free: 9.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/0.5745, allocations: 94.53 kB / 1.041 GB, free: 9.469 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.5746, allocations: 7.938 kB / 1.041 GB, free: 9.461 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.5772, allocations: 4.388 MB / 1.045 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5773, allocations: 3.938 kB / 1.045 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.578, allocations: 0.5502 MB / 1.046 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.5781, allocations: 124.7 kB / 1.046 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.5782, allocations: 4 kB / 1.046 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.5784, allocations: 15.98 kB / 1.046 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.5784, allocations: 23.91 kB / 1.046 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.5784, allocations: 4 kB / 1.046 GB, free: 3.883 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001858/0.5786, allocations: 215 kB / 1.046 GB, free: 3.676 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5786, allocations: 4.062 kB / 1.046 GB, free: 3.672 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00043/0.5791, allocations: 100 kB / 1.046 GB, free: 3.574 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000941/0.58, allocations: 1.095 MB / 1.047 GB, free: 2.445 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008069/0.5808, allocations: 0.6252 MB / 1.048 GB, free: 1.781 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5809, allocations: 0 / 1.048 GB, free: 1.781 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.5813, allocations: 464.5 kB / 1.048 GB, free: 1.289 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.5818, allocations: 82.03 kB / 1.048 GB, free: 1.211 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.5856, allocations: 3.394 MB / 1.052 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.586, allocations: 0.8311 MB / 1.052 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.5862, allocations: 62.92 kB / 1.052 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.5864, allocations: 111.4 kB / 1.053 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.5864, allocations: 0 / 1.053 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.456/2.042, allocations: 7.638 MB / 1.06 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/16.14, allocations: 4.5 kB / 1.06 GB, free: 5.109 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches