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.007836/0.007836, allocations: 101 kB / 15.73 MB, free: 6.055 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.002128/0.002128, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.503/2.503, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003186/0.003186, allocations: 67.83 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7549, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006528/0.7615, allocations: 4.356 MB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.7645, allocations: 1.862 MB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.7647, allocations: 11.94 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.7664, allocations: 0.5976 MB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.767, allocations: 258.6 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.7676, allocations: 255.4 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007251/0.7683, allocations: 0.6151 MB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007163/0.7691, allocations: 465.5 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.7694, allocations: 247.2 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.7698, allocations: 271 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.497e-05/0.7699, allocations: 36 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.7704, allocations: 255.4 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.7706, allocations: 151.6 kB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.7708, allocations: 215 kB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.7716, allocations: 0.6081 MB / 1.176 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7716, allocations: 0 / 1.176 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7716, allocations: 4 kB / 1.176 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.7716, allocations: 4 kB / 1.176 GB, free: 9.574 MB / 0.9044 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.001294/0.7729, allocations: 0.74 MB / 1.177 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.773, allocations: 12.92 kB / 1.177 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.7731, allocations: 78.72 kB / 1.177 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009772/0.7741, allocations: 144.5 kB / 1.177 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.7746, allocations: 334.8 kB / 1.177 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.7746, allocations: 29.38 kB / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.7747, allocations: 32.36 kB / 1.177 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008684/0.7756, allocations: 0.5316 MB / 1.178 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.7756, allocations: 7.875 kB / 1.178 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.7756, allocations: 23.98 kB / 1.178 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.7757, allocations: 24.64 kB / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.7763, allocations: 390.3 kB / 1.178 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.7791, allocations: 2.404 MB / 1.181 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.7797, allocations: 265.9 kB / 1.181 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.7799, allocations: 116.7 kB / 1.181 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.7799, allocations: 4 kB / 1.181 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.7799, allocations: 38.5 kB / 1.181 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.78, allocations: 0 / 1.181 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002302/0.7823, allocations: 1.128 MB / 1.182 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7823, allocations: 55.41 kB / 1.182 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.7827, allocations: 300.5 kB / 1.183 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.7827, allocations: 29.7 kB / 1.183 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.7829, allocations: 236.1 kB / 1.183 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/0.783, allocations: 91.25 kB / 1.183 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.7831, allocations: 61.98 kB / 1.183 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.7832, allocations: 338.8 kB / 1.183 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.7834, allocations: 104.6 kB / 1.183 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.7837, allocations: 183.8 kB / 1.184 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.7841, allocations: 315.5 kB / 1.184 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7842, allocations: 0 / 1.184 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007985/0.785, allocations: 449.8 kB / 1.184 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.785, allocations: 4 kB / 1.184 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.785, allocations: 4 kB / 1.184 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003659/0.7854, allocations: 98.84 kB / 1.184 GB, free: 484 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.7857, allocations: 63.89 kB / 1.184 GB, free: 420 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.7895, allocations: 4.399 MB / 1.189 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.7897, allocations: 8 kB / 1.189 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.7897, allocations: 16 kB / 1.189 GB, free: 11.56 MB / 0.92 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.0002093/0.7899, allocations: 182.5 kB / 1.189 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.79, allocations: 35.75 kB / 1.189 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.593e-05/0.7901, allocations: 42.31 kB / 1.189 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.7901, allocations: 0 / 1.189 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.7901, allocations: 4 kB / 1.189 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7901, allocations: 0 / 1.189 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.7906, allocations: 393.4 kB / 1.189 GB, free: 10.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7907, allocations: 7.938 kB / 1.189 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.7909, allocations: 43.86 kB / 1.189 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003143/0.7912, allocations: 90.48 kB / 1.189 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.7912, allocations: 11.94 kB / 1.19 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/0.7949, allocations: 4.392 MB / 1.194 GB, free: 5.883 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7949, allocations: 3.938 kB / 1.194 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.7958, allocations: 0.5511 MB / 1.194 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.796, allocations: 129 kB / 1.194 GB, free: 5.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.796, allocations: 4 kB / 1.194 GB, free: 5.156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.7962, allocations: 12 kB / 1.194 GB, free: 5.145 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.7963, allocations: 19.97 kB / 1.194 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.7963, allocations: 4 kB / 1.195 GB, free: 5.121 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002305/0.7965, allocations: 215 kB / 1.195 GB, free: 4.914 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7965, allocations: 0 / 1.195 GB, free: 4.914 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004538/0.797, allocations: 100 kB / 1.195 GB, free: 4.816 MB / 0.92 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.001179/0.7982, allocations: 1.101 MB / 1.196 GB, free: 3.68 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009162/0.7991, allocations: 0.6051 MB / 1.196 GB, free: 3.039 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7991, allocations: 0 / 1.196 GB, free: 3.039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.7997, allocations: 479.9 kB / 1.197 GB, free: 2.531 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.8002, allocations: 77.72 kB / 1.197 GB, free: 2.457 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.8048, allocations: 3.386 MB / 1.2 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.8053, allocations: 0.835 MB / 1.201 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.8055, allocations: 58.94 kB / 1.201 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.8057, allocations: 111.4 kB / 1.201 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.8057, allocations: 0 / 1.201 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04038/0.8461, allocations: 7.784 MB / 1.209 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11, allocations: 11.28 kB / 1.209 GB, free: 6.238 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.csv","/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