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.00116/0.00116, allocations: 108 kB / 15.61 MB, free: 152 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.001248/0.001248, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.738/2.738, allocations: 437 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 67.89 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6727, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006743/0.6795, allocations: 5.544 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.6836, allocations: 2.646 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/0.684, allocations: 23.81 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.6858, allocations: 0.6768 MB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009246/0.6868, allocations: 409.7 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.6877, allocations: 410.4 kB / 1.027 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00085/0.6886, allocations: 0.959 MB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.6892, allocations: 472.7 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.6896, allocations: 374.6 kB / 1.029 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.6901, allocations: 398.4 kB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.6902, allocations: 48 kB / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006261/0.6908, allocations: 367.2 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.691, allocations: 251.2 kB / 1.03 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.6914, allocations: 354.3 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.6924, allocations: 0.9578 MB / 1.031 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.6924, allocations: 0 / 1.031 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6924, allocations: 0 / 1.031 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.6924, allocations: 3.938 kB / 1.031 GB, free: 4.605 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001737/0.6942, allocations: 0.9815 MB / 1.032 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6942, allocations: 8.031 kB / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.6944, allocations: 98.69 kB / 1.032 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.6957, allocations: 191.8 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.6964, allocations: 498.4 kB / 1.033 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.6965, allocations: 37.36 kB / 1.033 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6966, allocations: 56.55 kB / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.6978, allocations: 0.8316 MB / 1.034 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.6978, allocations: 11.84 kB / 1.034 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.6979, allocations: 20 kB / 1.034 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.6981, allocations: 68.95 kB / 1.034 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.6989, allocations: 0.5697 MB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.7032, allocations: 4.589 MB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.7037, allocations: 291.3 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.704, allocations: 225.3 kB / 1.039 GB, free: 11.62 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.7041, allocations: 4.281 kB / 1.039 GB, free: 11.62 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.7041, allocations: 38.84 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 5.14e-06/0.7041, allocations: 3.984 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005706/0.7098, allocations: 2.622 MB / 1.042 GB, free: 8.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.7099, allocations: 59.41 kB / 1.042 GB, free: 8.746 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.7104, allocations: 469.9 kB / 1.042 GB, free: 8.277 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.7105, allocations: 37.7 kB / 1.042 GB, free: 8.234 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.7107, allocations: 343.6 kB / 1.043 GB, free: 7.891 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.7108, allocations: 145.9 kB / 1.043 GB, free: 7.746 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.7109, allocations: 102.1 kB / 1.043 GB, free: 7.641 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7111, allocations: 362.8 kB / 1.043 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.7114, allocations: 237 kB / 1.043 GB, free: 7.047 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.7119, allocations: 406.4 kB / 1.044 GB, free: 6.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.7127, allocations: 0.674 MB / 1.044 GB, free: 5.824 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7127, allocations: 8 kB / 1.045 GB, free: 5.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001713/0.7144, allocations: 0.9168 MB / 1.045 GB, free: 4.883 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7144, allocations: 8.656 kB / 1.045 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7144, allocations: 8 kB / 1.045 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/0.7152, allocations: 234.3 kB / 1.046 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.7158, allocations: 115.8 kB / 1.046 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004791/0.7206, allocations: 5.347 MB / 1.051 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.7211, allocations: 31.97 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.7211, allocations: 20 kB / 1.051 GB, free: 14.69 MB / 0.8106 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.000306/0.7214, allocations: 221.6 kB / 1.051 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.7215, allocations: 63.22 kB / 1.051 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.723, allocations: 0.7734 MB / 1.052 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.723, allocations: 8 kB / 1.052 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.723, allocations: 4 kB / 1.052 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.723, allocations: 3.984 kB / 1.052 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.7253, allocations: 1.495 MB / 1.054 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.7254, allocations: 0 / 1.054 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.7257, allocations: 71.88 kB / 1.054 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006766/0.7264, allocations: 214.6 kB / 1.054 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.7265, allocations: 8 kB / 1.054 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004711/0.7312, allocations: 5.27 MB / 1.059 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7312, allocations: 8.094 kB / 1.059 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.733, allocations: 1.131 MB / 1.06 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.7332, allocations: 172.4 kB / 1.06 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.7333, allocations: 8 kB / 1.06 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.7337, allocations: 32.22 kB / 1.06 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/0.7338, allocations: 35.89 kB / 1.06 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.7338, allocations: 16 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003333/0.7342, allocations: 318.9 kB / 1.061 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7342, allocations: 0 / 1.061 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006736/0.7349, allocations: 168 kB / 1.061 GB, free: 4.094 MB / 0.8106 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.002092/0.737, allocations: 1.7 MB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.739, allocations: 1.055 MB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7391, allocations: 0 / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.7402, allocations: 0.6798 MB / 1.064 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.7414, allocations: 182.2 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.7495, allocations: 5.715 MB / 1.07 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.7501, allocations: 0.9416 MB / 1.071 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004495/0.7506, allocations: 125 kB / 1.071 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.7508, allocations: 207.4 kB / 1.071 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of SimCode: time 2.665e-06/0.7508, allocations: 0 / 1.071 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05302/0.8039, allocations: 14.04 MB / 1.085 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.336/10.14, allocations: 6.938 kB / 1.085 GB, free: 11.29 MB / 0.8419 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