Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_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_9_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.001652/0.001652, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.375/2.375, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5716/0.573, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005898/0.5789, allocations: 5.544 MB / 0.9551 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003864/0.5828, allocations: 2.641 MB / 0.9577 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.5832, allocations: 26.16 kB / 0.9577 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.5848, allocations: 0.6806 MB / 0.9584 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009289/0.5857, allocations: 409.4 kB / 0.9588 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009515/0.5867, allocations: 402.7 kB / 0.9592 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009218/0.5876, allocations: 0.9629 MB / 0.9601 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/0.5882, allocations: 477.1 kB / 0.9606 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.5887, allocations: 369.5 kB / 0.9609 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.5892, allocations: 407.2 kB / 0.9613 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.366e-05/0.5893, allocations: 47.78 kB / 0.9614 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006684/0.5899, allocations: 359.1 kB / 0.9617 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.5901, allocations: 244.5 kB / 0.9619 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.5905, allocations: 355.8 kB / 0.9623 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.5916, allocations: 0.9584 MB / 0.9632 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5916, allocations: 0 / 0.9632 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5916, allocations: 1.344 kB / 0.9632 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.5916, allocations: 0 / 0.9632 GB, free: 15.2 MB / 0.7325 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.001577/0.5932, allocations: 0.9832 MB / 0.9642 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5932, allocations: 8.969 kB / 0.9642 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.5934, allocations: 99.97 kB / 0.9643 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.5948, allocations: 195.5 kB / 0.9645 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.5955, allocations: 494.8 kB / 0.9649 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.5955, allocations: 41.48 kB / 0.965 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.5957, allocations: 47 kB / 0.965 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.5968, allocations: 0.8282 MB / 0.9658 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.5968, allocations: 6.094 kB / 0.9658 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.5969, allocations: 27.36 kB / 0.9659 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/0.5971, allocations: 66.7 kB / 0.9659 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009239/0.5981, allocations: 0.5707 MB / 0.9665 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.6025, allocations: 4.589 MB / 0.971 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.603, allocations: 296.2 kB / 0.9713 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.6034, allocations: 225.5 kB / 0.9715 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.6034, allocations: 3.75 kB / 0.9715 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.6034, allocations: 37.31 kB / 0.9715 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.6035, allocations: 0 / 0.9715 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.005822/0.6093, allocations: 2.643 MB / 0.9741 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.6093, allocations: 56.47 kB / 0.9741 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.6099, allocations: 468.2 kB / 0.9746 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.61, allocations: 32.52 kB / 0.9746 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.6102, allocations: 343.3 kB / 0.9749 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.6103, allocations: 145 kB / 0.9751 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.6105, allocations: 105.5 kB / 0.9752 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6107, allocations: 363.1 kB / 0.9755 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.611, allocations: 236.3 kB / 0.9758 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.6115, allocations: 406.5 kB / 0.9761 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.6124, allocations: 0.6804 MB / 0.9768 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6124, allocations: 6.312 kB / 0.9768 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001775/0.6142, allocations: 0.9163 MB / 0.9777 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6142, allocations: 7.531 kB / 0.9777 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.6142, allocations: 6.531 kB / 0.9777 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008103/0.615, allocations: 233.5 kB / 0.9779 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.6156, allocations: 116 kB / 0.9781 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005111/0.6207, allocations: 5.339 MB / 0.9833 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.6213, allocations: 31.97 kB / 0.9833 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.6213, allocations: 20 kB / 0.9833 GB, free: 14.07 MB / 0.7481 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.0003569/0.6217, allocations: 221.6 kB / 0.9835 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.6218, allocations: 59.28 kB / 0.9836 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.6233, allocations: 0.7697 MB / 0.9843 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6234, allocations: 7.938 kB / 0.9843 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6234, allocations: 8 kB / 0.9844 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.6234, allocations: 4.125 kB / 0.9844 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.6259, allocations: 1.49 MB / 0.9858 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.626, allocations: 7.984 kB / 0.9858 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.6264, allocations: 71.88 kB / 0.9859 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006941/0.6271, allocations: 210.6 kB / 0.9861 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.6271, allocations: 11.94 kB / 0.9861 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004901/0.632, allocations: 5.277 MB / 0.9913 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.632, allocations: 8.094 kB / 0.9913 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.6339, allocations: 1.135 MB / 0.9924 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.6342, allocations: 172.4 kB / 0.9925 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6343, allocations: 12 kB / 0.9925 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.6347, allocations: 28.03 kB / 0.9926 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6348, allocations: 35.89 kB / 0.9926 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.6349, allocations: 12 kB / 0.9926 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003852/0.6352, allocations: 318.9 kB / 0.9929 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6353, allocations: 0 / 0.9929 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008588/0.6361, allocations: 164 kB / 0.9931 GB, free: 3.461 MB / 0.7481 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.002147/0.6383, allocations: 1.712 MB / 0.9947 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.6401, allocations: 1.056 MB / 0.9958 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6401, allocations: 4 kB / 0.9958 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.6411, allocations: 0.6721 MB / 0.9964 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6421, allocations: 179.3 kB / 0.9966 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/0.6502, allocations: 5.714 MB / 1.002 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.6507, allocations: 0.9533 MB / 1.003 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003975/0.6511, allocations: 117 kB / 1.003 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.6514, allocations: 207.4 kB / 1.003 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of SimCode: time 6.41e-07/0.6514, allocations: 3.938 kB / 1.003 GB, free: 8.398 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.6935, allocations: 14.02 MB / 1.017 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.683/10.38, allocations: 11 kB / 1.017 GB, free: 10.65 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches