Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_9_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.001572/0.001572, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002096/0.002096, allocations: 188.2 kB / 16.25 MB, free: 6.637 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.3 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.88 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6515, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004862/0.6564, allocations: 4.385 MB / 0.9535 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.6588, allocations: 1.837 MB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.659, allocations: 10.75 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.6604, allocations: 0.5679 MB / 0.9559 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.6609, allocations: 245.5 kB / 0.9561 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.6615, allocations: 224.7 kB / 0.9563 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.662, allocations: 0.6163 MB / 0.9569 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.6626, allocations: 0.5112 MB / 0.9574 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.6629, allocations: 243.9 kB / 0.9577 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.6633, allocations: 283.9 kB / 0.9579 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.6634, allocations: 35.94 kB / 0.958 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.6638, allocations: 252.9 kB / 0.9582 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.6639, allocations: 149 kB / 0.9584 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.6641, allocations: 222.8 kB / 0.9586 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.6646, allocations: 0.6287 MB / 0.9592 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6647, allocations: 1.094 kB / 0.9592 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.103e-06/0.6647, allocations: 0 / 0.9592 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.6647, allocations: 0 / 0.9592 GB, free: 1.852 MB / 0.7169 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.001092/0.6658, allocations: 0.7151 MB / 0.9599 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6658, allocations: 10.31 kB / 0.9599 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.6659, allocations: 80.92 kB / 0.96 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000981/0.6669, allocations: 141.2 kB / 0.9601 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.6673, allocations: 333.5 kB / 0.9604 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.6673, allocations: 30.58 kB / 0.9604 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.6674, allocations: 30.06 kB / 0.9605 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.6681, allocations: 0.536 MB / 0.961 GB, free: 424 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6682, allocations: 1.188 kB / 0.961 GB, free: 424 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.6682, allocations: 20.23 kB / 0.961 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/0.6683, allocations: 28.33 kB / 0.961 GB, free: 404 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/0.6688, allocations: 389.1 kB / 0.9614 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.6713, allocations: 2.407 MB / 0.9638 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.6719, allocations: 273.4 kB / 0.964 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.672, allocations: 106.7 kB / 0.9641 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.6721, allocations: 2.156 kB / 0.9641 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.6721, allocations: 44.83 kB / 0.9642 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.6721, allocations: 0 / 0.9642 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.002206/0.6743, allocations: 1.115 MB / 0.9653 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.6744, allocations: 53.59 kB / 0.9653 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.6747, allocations: 308 kB / 0.9656 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.6747, allocations: 30.73 kB / 0.9656 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.6749, allocations: 229.6 kB / 0.9659 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/0.675, allocations: 85.16 kB / 0.9659 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.6751, allocations: 61.97 kB / 0.966 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6752, allocations: 342.5 kB / 0.9663 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.6754, allocations: 100.9 kB / 0.9664 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.6756, allocations: 195.9 kB / 0.9666 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.6761, allocations: 317.3 kB / 0.9669 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6761, allocations: 0 / 0.9669 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007997/0.6769, allocations: 443.5 kB / 0.9673 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6769, allocations: 9.531 kB / 0.9673 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.6769, allocations: 1.75 kB / 0.9673 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.6773, allocations: 103.2 kB / 0.9674 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.6777, allocations: 64.53 kB / 0.9675 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.681, allocations: 4.398 MB / 0.9718 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.6812, allocations: 16.03 kB / 0.9718 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.6813, allocations: 9.438 kB / 0.9718 GB, free: 6.602 MB / 0.7325 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.0002153/0.6815, allocations: 179.8 kB / 0.972 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.6816, allocations: 35.72 kB / 0.972 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.6816, allocations: 41.12 kB / 0.9721 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6816, allocations: 2.625 kB / 0.9721 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6817, allocations: 1.344 kB / 0.9721 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6817, allocations: 5.359 kB / 0.9721 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.6822, allocations: 396.1 kB / 0.9725 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.6822, allocations: 5.469 kB / 0.9725 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.6824, allocations: 29.67 kB / 0.9725 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.6827, allocations: 96.12 kB / 0.9726 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.6828, allocations: 4 kB / 0.9726 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.686, allocations: 4.387 MB / 0.9769 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.686, allocations: 8.984 kB / 0.9769 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.6869, allocations: 0.5607 MB / 0.9774 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.687, allocations: 128.6 kB / 0.9775 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.6871, allocations: 1.781 kB / 0.9775 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.6873, allocations: 13.83 kB / 0.9776 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.6874, allocations: 16.36 kB / 0.9776 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.6874, allocations: 9.266 kB / 0.9776 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000229/0.6877, allocations: 217.9 kB / 0.9778 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6877, allocations: 0 / 0.9778 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005302/0.6882, allocations: 95.12 kB / 0.9779 GB, free: 0.8164 MB / 0.7325 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.001139/0.6893, allocations: 1.092 MB / 0.979 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009936/0.6903, allocations: 0.6354 MB / 0.9796 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.6904, allocations: 1.094 kB / 0.9796 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005251/0.6909, allocations: 471.3 kB / 0.98 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.6915, allocations: 85.56 kB / 0.9801 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.6961, allocations: 3.517 MB / 0.9835 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.6966, allocations: 0.8312 MB / 0.9844 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000249/0.6968, allocations: 59.09 kB / 0.9844 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.697, allocations: 114.3 kB / 0.9845 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.697, allocations: 0 / 0.9845 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/0.7346, allocations: 7.582 MB / 0.9919 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.7348, allocations: 224.6 kB / 0.9921 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.688, allocations: 3.5 kB / 0.9921 GB, free: 4.363 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches