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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001213/0.001213, allocations: 193.3 kB / 16.14 MB, free: 6.711 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5447, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00569/0.5505, allocations: 4.393 MB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.5532, allocations: 1.866 MB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.5535, allocations: 11.94 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.555, allocations: 0.5619 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005834/0.5555, allocations: 246.9 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.5561, allocations: 227.5 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007994/0.5569, allocations: 0.8413 MB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.5574, allocations: 320.1 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.5577, allocations: 211.2 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.5582, allocations: 279 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.199e-05/0.5583, allocations: 24 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.5588, allocations: 315.4 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.5589, allocations: 147.5 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.5592, allocations: 203 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006566/0.5598, allocations: 0.6035 MB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.5598, allocations: 0 / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5599, allocations: 4 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.5599, allocations: 0 / 1.027 GB, free: 8.582 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.001234/0.5611, allocations: 0.7291 MB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.5612, allocations: 12.03 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.5613, allocations: 78.7 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000945/0.5622, allocations: 144.3 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.5626, allocations: 334.4 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.5626, allocations: 25.31 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.5627, allocations: 36.38 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.5634, allocations: 0.5355 MB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5635, allocations: 0 / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.5635, allocations: 12 kB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/0.5636, allocations: 36.62 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.5641, allocations: 390.3 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.5664, allocations: 2.399 MB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.5669, allocations: 262.5 kB / 1.032 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.5671, allocations: 108.8 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.5671, allocations: 0 / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.5672, allocations: 42.56 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/0.5672, allocations: 0 / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.002011/0.5692, allocations: 1.124 MB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.5692, allocations: 55.41 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.5695, allocations: 308.3 kB / 1.033 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.5695, allocations: 33.7 kB / 1.033 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.5697, allocations: 227.6 kB / 1.033 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.5697, allocations: 74.91 kB / 1.033 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.5698, allocations: 65.94 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5699, allocations: 338.8 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.5701, allocations: 100.6 kB / 1.034 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.5703, allocations: 191.7 kB / 1.034 GB, free: 416 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.5707, allocations: 321.3 kB / 1.034 GB, free: 60 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5707, allocations: 0 / 1.034 GB, free: 60 kB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007094/0.5714, allocations: 446.6 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5714, allocations: 10.34 kB / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5714, allocations: 0 / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.5718, allocations: 110.6 kB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.5721, allocations: 63.91 kB / 1.035 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.5747, allocations: 4.068 MB / 1.039 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.575, allocations: 12 kB / 1.039 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.575, allocations: 8 kB / 1.039 GB, free: 10.93 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.0001757/0.5752, allocations: 198.2 kB / 1.039 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.5752, allocations: 31.62 kB / 1.039 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.5753, allocations: 38.31 kB / 1.039 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5753, allocations: 4 kB / 1.039 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5753, allocations: 0 / 1.039 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5753, allocations: 0 / 1.039 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.5757, allocations: 401.3 kB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5757, allocations: 4 kB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.5759, allocations: 31.98 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002938/0.5762, allocations: 94.48 kB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.5763, allocations: 8 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.5789, allocations: 4.072 MB / 1.044 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5789, allocations: 0 / 1.044 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.5796, allocations: 0.5582 MB / 1.044 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.5798, allocations: 124.8 kB / 1.044 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.5798, allocations: 7.938 kB / 1.044 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.58, allocations: 12 kB / 1.044 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.5801, allocations: 15.97 kB / 1.044 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.5801, allocations: 11.94 kB / 1.044 GB, free: 4.824 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001875/0.5803, allocations: 211.1 kB / 1.045 GB, free: 4.621 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5803, allocations: 0 / 1.045 GB, free: 4.621 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004212/0.5807, allocations: 100 kB / 1.045 GB, free: 4.523 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.0009784/0.5817, allocations: 1.103 MB / 1.046 GB, free: 3.387 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007466/0.5824, allocations: 0.6066 MB / 1.046 GB, free: 2.742 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5825, allocations: 0 / 1.046 GB, free: 2.742 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.5829, allocations: 464 kB / 1.047 GB, free: 2.25 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.5834, allocations: 76.86 kB / 1.047 GB, free: 2.176 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.5873, allocations: 3.533 MB / 1.05 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.5877, allocations: 0.8309 MB / 1.051 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.5879, allocations: 50.94 kB / 1.051 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.588, allocations: 115.4 kB / 1.051 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.588, allocations: 0 / 1.051 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.95/2.538, allocations: 7.359 MB / 1.059 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/2.538, allocations: 235.6 kB / 1.059 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/4.639, allocations: 3.75 kB / 1.059 GB, free: 5.98 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