Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001549/0.001549, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001762/0.001762, allocations: 189.2 kB / 16.14 MB, free: 6.711 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5435, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0273/0.5709, allocations: 26.43 MB / 1.043 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.5836, allocations: 8.079 MB / 1.05 GB, free: 124 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.586, allocations: 103.4 kB / 1.051 GB, free: 20 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006162/0.5922, allocations: 2.565 MB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.5956, allocations: 1.497 MB / 1.055 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.599, allocations: 1.524 MB / 1.056 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007899/0.6069, allocations: 8.708 MB / 1.064 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01205/0.619, allocations: 8.195 MB / 1.072 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/0.6233, allocations: 2.187 MB / 1.075 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004366/0.6277, allocations: 2.881 MB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.6289, allocations: 347.9 kB / 1.078 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.6319, allocations: 1.338 MB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.6342, allocations: 1.879 MB / 1.081 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003725/0.638, allocations: 2.185 MB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007253/0.6452, allocations: 7.926 MB / 1.091 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6452, allocations: 0 / 1.091 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6453, allocations: 0 / 1.091 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001085/0.6454, allocations: 0 / 1.091 GB, free: 6.609 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007241/0.6526, allocations: 4.228 MB / 1.095 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6527, allocations: 8.031 kB / 1.095 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006702/0.6533, allocations: 0.5421 MB / 1.095 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/0.6573, allocations: 0.8 MB / 1.096 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.661, allocations: 2.424 MB / 1.099 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.6612, allocations: 271.7 kB / 1.099 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005946/0.6618, allocations: 376.4 kB / 1.099 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008574/0.6704, allocations: 5.992 MB / 1.105 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-05/0.6705, allocations: 19.78 kB / 1.105 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/0.6708, allocations: 155.9 kB / 1.105 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005508/0.6714, allocations: 286.9 kB / 1.106 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006595/0.678, allocations: 4.528 MB / 1.11 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/0.7048, allocations: 27.66 MB / 1.137 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.7064, allocations: 1.128 MB / 1.138 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.7077, allocations: 1.011 MB / 1.139 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.318e-05/0.7078, allocations: 13 kB / 1.139 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.7078, allocations: 55.55 kB / 1.139 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.156e-06/0.7078, allocations: 0 / 1.139 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02067/0.7285, allocations: 9.657 MB / 1.149 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.7285, allocations: 64.72 kB / 1.149 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.7304, allocations: 1.494 MB / 1.15 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.7306, allocations: 49.7 kB / 1.15 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.7317, allocations: 1.671 MB / 1.152 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/0.732, allocations: 469.4 kB / 1.152 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005059/0.7325, allocations: 331.1 kB / 1.152 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.7326, allocations: 305.1 kB / 1.153 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.7339, allocations: 0.9135 MB / 1.154 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.7356, allocations: 1.471 MB / 1.155 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003111/0.7387, allocations: 2.546 MB / 1.158 GB, free: 14.53 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.7387, allocations: 4 kB / 1.158 GB, free: 14.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005587/0.7443, allocations: 3.282 MB / 1.161 GB, free: 11.21 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.7443, allocations: 16 kB / 1.161 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.7444, allocations: 16 kB / 1.161 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/0.7467, allocations: 0.7301 MB / 1.162 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.7482, allocations: 391.2 kB / 1.162 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/0.7634, allocations: 15.77 MB / 1.177 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.7648, allocations: 100.1 kB / 1.177 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.765, allocations: 76 kB / 1.178 GB, free: 8.879 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.002018/0.767, allocations: 1.315 MB / 1.179 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.7674, allocations: 201.6 kB / 1.179 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/0.7726, allocations: 2.792 MB / 1.182 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.7726, allocations: 19.98 kB / 1.182 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.7727, allocations: 8 kB / 1.182 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.7727, allocations: 7.969 kB / 1.182 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.7829, allocations: 6.213 MB / 1.188 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.7829, allocations: 4 kB / 1.188 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.7841, allocations: 235.6 kB / 1.188 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.7862, allocations: 0.6638 MB / 1.189 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.7864, allocations: 35.98 kB / 1.189 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/0.8009, allocations: 15.51 MB / 1.204 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.8009, allocations: 4 kB / 1.204 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00624/0.8072, allocations: 4.008 MB / 1.208 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/0.808, allocations: 450.6 kB / 1.208 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/0.8084, allocations: 35.98 kB / 1.208 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009193/0.8093, allocations: 83.89 kB / 1.208 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.8096, allocations: 116.7 kB / 1.208 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.2e-05/0.8097, allocations: 40.12 kB / 1.208 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001325/0.811, allocations: 0.9981 MB / 1.209 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.811, allocations: 4 kB / 1.209 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00202/0.8131, allocations: 0.6875 MB / 1.21 GB, free: 5.902 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.006225/0.8193, allocations: 4.605 MB / 1.215 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004924/0.8242, allocations: 3.507 MB / 1.218 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8242, allocations: 3.938 kB / 1.218 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/0.8272, allocations: 2.296 MB / 1.22 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.8298, allocations: 0.6139 MB / 1.221 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/0.8633, allocations: 24.25 MB / 1.245 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.38/1.243, allocations: 2.663 MB / 1.247 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001696/1.245, allocations: 487.8 kB / 1.248 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.246, allocations: 1.278 MB / 1.249 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/1.246, allocations: 0 / 1.249 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2183/1.465, allocations: 55 MB / 1.303 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/1.465, allocations: 247.3 kB / 1.303 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/4.231, allocations: 3.938 kB / 1.303 GB, free: 182.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches