Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001422/0.001422, 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.001715/0.001715, allocations: 192.6 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 469.4 MB / 0.742 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 61.33 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2544, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006812/0.2613, allocations: 5.538 MB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004179/0.2655, allocations: 2.642 MB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.2659, allocations: 27.81 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.2677, allocations: 0.6795 MB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009686/0.2687, allocations: 417.7 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.2696, allocations: 407 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009648/0.2706, allocations: 0.9514 MB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.2712, allocations: 474.7 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.2717, allocations: 366.7 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.2723, allocations: 406.4 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.2724, allocations: 48 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.273, allocations: 363.3 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.2733, allocations: 243.3 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.2737, allocations: 354.2 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009634/0.2747, allocations: 0.9695 MB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2747, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2747, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.2747, allocations: 0 / 1.077 GB, free: 0.668 MB / 0.8262 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.001432/0.2761, allocations: 0.9775 MB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2762, allocations: 16.03 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.2763, allocations: 102.7 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.2777, allocations: 191.9 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.2783, allocations: 486.5 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.2783, allocations: 37.36 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.2785, allocations: 64.44 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2796, allocations: 0.8277 MB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.2796, allocations: 3.938 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.2797, allocations: 27.98 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.2799, allocations: 64.95 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.2807, allocations: 0.5736 MB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003993/0.2847, allocations: 4.577 MB / 1.085 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.2852, allocations: 291.2 kB / 1.085 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.2855, allocations: 233.2 kB / 1.085 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.2855, allocations: 8.266 kB / 1.085 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2856, allocations: 38.84 kB / 1.085 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.2856, allocations: 0 / 1.085 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005471/0.291, allocations: 2.626 MB / 1.088 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.2911, allocations: 55.41 kB / 1.088 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.2916, allocations: 469.9 kB / 1.089 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.2916, allocations: 41.64 kB / 1.089 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.2918, allocations: 347.6 kB / 1.089 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.2919, allocations: 141.9 kB / 1.089 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.2921, allocations: 102.2 kB / 1.089 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2922, allocations: 366.8 kB / 1.089 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.2926, allocations: 233 kB / 1.09 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.293, allocations: 406.4 kB / 1.09 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.2939, allocations: 0.6818 MB / 1.091 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2939, allocations: 4 kB / 1.091 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001603/0.2955, allocations: 0.9171 MB / 1.092 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2955, allocations: 8 kB / 1.092 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2955, allocations: 8.656 kB / 1.092 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/0.2963, allocations: 226.4 kB / 1.092 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.2969, allocations: 119.8 kB / 1.092 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/0.3018, allocations: 5.34 MB / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.3023, allocations: 31.97 kB / 1.097 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.3024, allocations: 20 kB / 1.097 GB, free: 10.77 MB / 0.8575 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.0003059/0.3027, allocations: 223.9 kB / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3028, allocations: 63.19 kB / 1.098 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.3043, allocations: 0.7773 MB / 1.098 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3043, allocations: 4 kB / 1.098 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.3043, allocations: 4 kB / 1.098 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3043, allocations: 7.984 kB / 1.098 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.3067, allocations: 1.498 MB / 1.1 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3067, allocations: 0 / 1.1 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.3071, allocations: 67.89 kB / 1.1 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006708/0.3078, allocations: 210.6 kB / 1.1 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.3078, allocations: 11.98 kB / 1.1 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.3127, allocations: 5.282 MB / 1.105 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3127, allocations: 4.031 kB / 1.105 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.3145, allocations: 1.135 MB / 1.106 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.3147, allocations: 176.3 kB / 1.106 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.3148, allocations: 12 kB / 1.107 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.3151, allocations: 23.97 kB / 1.107 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.3152, allocations: 39.95 kB / 1.107 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.3153, allocations: 12 kB / 1.107 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003336/0.3156, allocations: 318.9 kB / 1.107 GB, free: 320 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3156, allocations: 0 / 1.107 GB, free: 320 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006538/0.3163, allocations: 164 kB / 1.107 GB, free: 156 kB / 0.8575 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.001966/0.3183, allocations: 1.684 MB / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.3199, allocations: 1.067 MB / 1.11 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.32, allocations: 4 kB / 1.11 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009583/0.3209, allocations: 0.6721 MB / 1.11 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.3218, allocations: 184.1 kB / 1.111 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007484/0.3293, allocations: 5.712 MB / 1.116 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.3299, allocations: 0.9493 MB / 1.117 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003642/0.3302, allocations: 125 kB / 1.117 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.3305, allocations: 207.4 kB / 1.117 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.3305, allocations: 0 / 1.117 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.3691, allocations: 14.04 MB / 1.131 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.266/9.635, allocations: 6.938 kB / 1.131 GB, free: 7.348 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches