Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.009063/0.009064, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.001994/0.001994, allocations: 193 kB / 16.67 MB, free: 5.934 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.4 MB, free: 15.1 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.569/2.569, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.84 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8279, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007966/0.8359, allocations: 5.541 MB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00501/0.841, allocations: 2.646 MB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.8415, allocations: 19.88 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.8435, allocations: 0.6817 MB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.8446, allocations: 409.8 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.8457, allocations: 409.3 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.8468, allocations: 0.9591 MB / 1.177 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007034/0.8475, allocations: 470.1 kB / 1.177 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.848, allocations: 370.6 kB / 1.177 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.8486, allocations: 402.4 kB / 1.178 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.357e-05/0.8487, allocations: 48 kB / 1.178 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007561/0.8495, allocations: 371.1 kB / 1.178 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.8498, allocations: 247.3 kB / 1.178 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.8501, allocations: 346.3 kB / 1.179 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.8515, allocations: 0.9805 MB / 1.18 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8515, allocations: 0 / 1.18 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8515, allocations: 0 / 1.18 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.8516, allocations: 0 / 1.18 GB, free: 5.922 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001986/0.8535, allocations: 1 MB / 1.181 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.8536, allocations: 12.92 kB / 1.181 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.8538, allocations: 98.69 kB / 1.181 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.8552, allocations: 204.2 kB / 1.181 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009019/0.8561, allocations: 0.5223 MB / 1.181 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.8561, allocations: 41.36 kB / 1.181 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.8563, allocations: 52.55 kB / 1.182 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.8575, allocations: 0.8277 MB / 1.182 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.8576, allocations: 7.938 kB / 1.182 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/0.8576, allocations: 23.98 kB / 1.182 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.8578, allocations: 68.94 kB / 1.182 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009378/0.8588, allocations: 0.5658 MB / 1.183 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.8636, allocations: 4.582 MB / 1.187 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.8642, allocations: 299.2 kB / 1.188 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.8645, allocations: 233.2 kB / 1.188 GB, free: 12.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.8645, allocations: 4.281 kB / 1.188 GB, free: 12.86 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.8646, allocations: 38.84 kB / 1.188 GB, free: 12.81 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.8646, allocations: 0 / 1.188 GB, free: 12.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.0058/0.8704, allocations: 2.64 MB / 1.191 GB, free: 10.04 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.8705, allocations: 55.41 kB / 1.191 GB, free: 9.977 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.871, allocations: 466 kB / 1.191 GB, free: 9.508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.871, allocations: 29.7 kB / 1.191 GB, free: 9.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.8713, allocations: 360.5 kB / 1.191 GB, free: 9.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.8715, allocations: 150.7 kB / 1.192 GB, free: 8.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.8716, allocations: 106.2 kB / 1.192 GB, free: 8.859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.8718, allocations: 366.8 kB / 1.192 GB, free: 8.492 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.8722, allocations: 237 kB / 1.192 GB, free: 8.262 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.8727, allocations: 406.4 kB / 1.193 GB, free: 7.789 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009193/0.8736, allocations: 0.6779 MB / 1.193 GB, free: 7.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8736, allocations: 0 / 1.193 GB, free: 7.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001728/0.8754, allocations: 0.9211 MB / 1.194 GB, free: 6.102 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8754, allocations: 8 kB / 1.194 GB, free: 6.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8754, allocations: 7.938 kB / 1.194 GB, free: 6.086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/0.8762, allocations: 227 kB / 1.194 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.8767, allocations: 115.8 kB / 1.195 GB, free: 5.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.8824, allocations: 5.348 MB / 1.2 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.883, allocations: 32.03 kB / 1.2 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.883, allocations: 24 kB / 1.2 GB, free: 15.92 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003528/0.8834, allocations: 226.2 kB / 1.2 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.8835, allocations: 67.56 kB / 1.2 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.8851, allocations: 0.7694 MB / 1.201 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8851, allocations: 7.984 kB / 1.201 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.8851, allocations: 4 kB / 1.201 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8851, allocations: 0 / 1.201 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.8877, allocations: 1.503 MB / 1.202 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.8877, allocations: 4 kB / 1.202 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.8881, allocations: 67.88 kB / 1.202 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007286/0.8888, allocations: 202.6 kB / 1.203 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.8889, allocations: 12 kB / 1.203 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.8944, allocations: 5.282 MB / 1.208 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8944, allocations: 0 / 1.208 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.8963, allocations: 1.131 MB / 1.209 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.8966, allocations: 172.7 kB / 1.209 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.8967, allocations: 11.98 kB / 1.209 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.8971, allocations: 24.16 kB / 1.209 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.8972, allocations: 39.95 kB / 1.209 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.8972, allocations: 20 kB / 1.209 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004121/0.8976, allocations: 310.9 kB / 1.209 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8976, allocations: 0 / 1.209 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007268/0.8984, allocations: 168 kB / 1.21 GB, free: 5.316 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,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.00228/0.9007, allocations: 1.708 MB / 1.211 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.9025, allocations: 1.012 MB / 1.212 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9026, allocations: 0 / 1.212 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.9036, allocations: 0.6799 MB / 1.213 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/0.9047, allocations: 180.5 kB / 1.213 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.9131, allocations: 5.656 MB / 1.219 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.9138, allocations: 0.9455 MB / 1.22 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003844/0.9142, allocations: 117 kB / 1.22 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.9145, allocations: 207.4 kB / 1.22 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of SimCode: time 1.152e-06/0.9145, allocations: 0 / 1.22 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05137/0.9658, allocations: 14.22 MB / 1.234 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.12, allocations: 9.5 kB / 1.234 GB, free: 12.42 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches