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.004957/0.004957, allocations: 102 kB / 15.73 MB, free: 5.98 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.001106/0.001105, allocations: 193.1 kB / 16.67 MB, free: 5.91 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.409/2.409, allocations: 437 MB / 0.7105 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.83 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.749, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006841/0.7559, allocations: 5.543 MB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004305/0.7602, allocations: 2.646 MB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004956/0.7607, allocations: 19.88 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.7627, allocations: 0.6821 MB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.7638, allocations: 421.8 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.765, allocations: 416 kB / 1.176 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.7663, allocations: 0.9513 MB / 1.177 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.767, allocations: 466.2 kB / 1.177 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006177/0.7677, allocations: 386.5 kB / 1.177 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.7683, allocations: 406.4 kB / 1.178 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.7684, allocations: 48 kB / 1.178 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006934/0.7691, allocations: 359.2 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.7694, allocations: 259.3 kB / 1.178 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004216/0.7698, allocations: 350.2 kB / 1.179 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.7711, allocations: 0.9728 MB / 1.18 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7711, allocations: 0 / 1.18 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7711, allocations: 0 / 1.18 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.7712, allocations: 0 / 1.18 GB, free: 5.824 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.001792/0.773, allocations: 1.004 MB / 1.181 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.773, allocations: 8.922 kB / 1.181 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.7731, allocations: 98.69 kB / 1.181 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.7746, allocations: 204.2 kB / 1.181 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.7755, allocations: 0.5262 MB / 1.181 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.7756, allocations: 45.3 kB / 1.182 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.7757, allocations: 48.56 kB / 1.182 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.7769, allocations: 0.8278 MB / 1.182 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.777, allocations: 7.938 kB / 1.182 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.7771, allocations: 27.98 kB / 1.182 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.7773, allocations: 64.94 kB / 1.182 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009213/0.7782, allocations: 0.5697 MB / 1.183 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.7829, allocations: 4.574 MB / 1.187 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.7834, allocations: 304.7 kB / 1.188 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.7837, allocations: 229.3 kB / 1.188 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.7837, allocations: 8.281 kB / 1.188 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7837, allocations: 34.84 kB / 1.188 GB, free: 12.71 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.7838, allocations: 0 / 1.188 GB, free: 12.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.00573/0.7895, allocations: 2.648 MB / 1.191 GB, free: 9.938 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.7896, allocations: 55.41 kB / 1.191 GB, free: 9.871 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.7902, allocations: 466 kB / 1.191 GB, free: 9.402 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.7902, allocations: 33.7 kB / 1.191 GB, free: 9.363 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.7905, allocations: 360.5 kB / 1.192 GB, free: 9.008 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.7906, allocations: 142.8 kB / 1.192 GB, free: 8.867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.7908, allocations: 106.2 kB / 1.192 GB, free: 8.758 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.791, allocations: 366.8 kB / 1.192 GB, free: 8.391 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.7914, allocations: 233 kB / 1.192 GB, free: 8.164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.7918, allocations: 410.4 kB / 1.193 GB, free: 7.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.7927, allocations: 0.6779 MB / 1.193 GB, free: 6.938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7927, allocations: 4 kB / 1.193 GB, free: 6.934 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001663/0.7943, allocations: 0.9133 MB / 1.194 GB, free: 6.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.7944, allocations: 11.98 kB / 1.194 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7944, allocations: 8.594 kB / 1.194 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008189/0.7952, allocations: 230.3 kB / 1.195 GB, free: 5.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.7958, allocations: 111.9 kB / 1.195 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/0.8008, allocations: 5.356 MB / 1.2 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/0.8014, allocations: 27.97 kB / 1.2 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.8014, allocations: 24 kB / 1.2 GB, free: 15.82 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.0003254/0.8018, allocations: 221.6 kB / 1.2 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.8019, allocations: 67.55 kB / 1.2 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.8034, allocations: 0.7697 MB / 1.201 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.8035, allocations: 7.984 kB / 1.201 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.8035, allocations: 8 kB / 1.201 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8035, allocations: 0 / 1.201 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.806, allocations: 1.499 MB / 1.202 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.806, allocations: 4 kB / 1.202 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.8064, allocations: 71.88 kB / 1.202 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007022/0.8071, allocations: 202.6 kB / 1.203 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.8072, allocations: 8 kB / 1.203 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/0.8119, allocations: 5.286 MB / 1.208 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.812, allocations: 4 kB / 1.208 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.8138, allocations: 1.127 MB / 1.209 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.8141, allocations: 172.7 kB / 1.209 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.8142, allocations: 15.98 kB / 1.209 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.8146, allocations: 23.97 kB / 1.209 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.8147, allocations: 39.95 kB / 1.209 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.8147, allocations: 12 kB / 1.209 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003507/0.8151, allocations: 314.9 kB / 1.209 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8151, allocations: 0 / 1.209 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007313/0.8158, allocations: 164 kB / 1.21 GB, free: 5.215 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.002014/0.8178, allocations: 1.709 MB / 1.211 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.8195, allocations: 1.012 MB / 1.212 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.8195, allocations: 0 / 1.212 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009734/0.8205, allocations: 0.6799 MB / 1.213 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.8215, allocations: 180.9 kB / 1.213 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/0.8293, allocations: 5.656 MB / 1.219 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.8299, allocations: 0.9494 MB / 1.22 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003745/0.8303, allocations: 113 kB / 1.22 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.8306, allocations: 207.4 kB / 1.22 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of SimCode: time 7.21e-07/0.8306, allocations: 0 / 1.22 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.8723, allocations: 14.22 MB / 1.234 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.23, allocations: 23.59 kB / 1.234 GB, free: 12.31 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