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.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.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.001322/0.001322, 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.001256/0.001257, allocations: 193.7 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.642/2.642, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.88 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6717, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02798/0.6997, allocations: 26.66 MB / 1.043 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.7127, allocations: 8.075 MB / 1.051 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.715, allocations: 115.4 kB / 1.051 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006827/0.7219, allocations: 2.757 MB / 1.054 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.7262, allocations: 1.593 MB / 1.056 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003958/0.7302, allocations: 1.682 MB / 1.057 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006276/0.7365, allocations: 6.135 MB / 1.063 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007444/0.7439, allocations: 7.431 MB / 1.071 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.7476, allocations: 2.555 MB / 1.073 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/0.7513, allocations: 2.839 MB / 1.076 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008689/0.7522, allocations: 0.5078 MB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.7548, allocations: 1.283 MB / 1.078 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002007/0.7569, allocations: 2.047 MB / 1.08 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002597/0.7595, allocations: 2.381 MB / 1.082 GB, free: 172 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007351/0.7668, allocations: 7.993 MB / 1.09 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.7669, allocations: 4 kB / 1.09 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.494e-06/0.7669, allocations: 0 / 1.09 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001613/0.767, allocations: 4 kB / 1.09 GB, free: 8.145 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.008179/0.7752, allocations: 4.228 MB / 1.094 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7753, allocations: 16.03 kB / 1.094 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006802/0.776, allocations: 0.5382 MB / 1.094 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.7801, allocations: 0.8 MB / 1.095 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/0.7842, allocations: 2.421 MB / 1.098 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.7844, allocations: 275.7 kB / 1.098 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006604/0.7851, allocations: 388.3 kB / 1.098 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009371/0.7944, allocations: 5.988 MB / 1.104 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.019e-05/0.7946, allocations: 15.88 kB / 1.104 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/0.7949, allocations: 160 kB / 1.104 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005999/0.7956, allocations: 278.9 kB / 1.104 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007423/0.803, allocations: 4.531 MB / 1.109 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02734/0.8303, allocations: 27.65 MB / 1.136 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.8322, allocations: 1.122 MB / 1.137 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.8335, allocations: 1.019 MB / 1.138 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.881e-05/0.8335, allocations: 13 kB / 1.138 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.8336, allocations: 51.56 kB / 1.138 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.477e-06/0.8336, allocations: 0 / 1.138 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02104/0.8546, allocations: 9.666 MB / 1.147 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.8547, allocations: 64.72 kB / 1.148 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.8566, allocations: 1.494 MB / 1.149 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.8567, allocations: 57.64 kB / 1.149 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.8578, allocations: 1.659 MB / 1.151 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004262/0.8582, allocations: 473.2 kB / 1.151 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004971/0.8587, allocations: 323.2 kB / 1.151 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.8588, allocations: 313.1 kB / 1.152 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.8601, allocations: 0.9135 MB / 1.153 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.8617, allocations: 1.467 MB / 1.154 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.8648, allocations: 2.55 MB / 1.157 GB, free: 44 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.8648, allocations: 4 kB / 1.157 GB, free: 40 kB / 0.9044 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00564/0.8705, allocations: 3.294 MB / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.8705, allocations: 12 kB / 1.16 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.8706, allocations: 16 kB / 1.16 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.8728, allocations: 0.7452 MB / 1.161 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.8744, allocations: 383.4 kB / 1.161 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.8901, allocations: 17.05 MB / 1.178 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.8919, allocations: 99.91 kB / 1.178 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.8921, allocations: 80.17 kB / 1.178 GB, free: 9.043 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.002273/0.8944, allocations: 1.311 MB / 1.179 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.8949, allocations: 201.6 kB / 1.179 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/0.9, allocations: 2.784 MB / 1.182 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.9, allocations: 24 kB / 1.182 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/0.9, allocations: 4 kB / 1.182 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.9001, allocations: 7.984 kB / 1.182 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.9107, allocations: 6.22 MB / 1.188 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.9108, allocations: 4 kB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.912, allocations: 231.7 kB / 1.188 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/0.914, allocations: 0.6794 MB / 1.189 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.9141, allocations: 35.98 kB / 1.189 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/0.929, allocations: 16.79 MB / 1.205 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.929, allocations: 8 kB / 1.205 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006254/0.9353, allocations: 4 MB / 1.209 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.9363, allocations: 458.6 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/0.9368, allocations: 31.94 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.9379, allocations: 83.89 kB / 1.21 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.9382, allocations: 112.7 kB / 1.21 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/0.9383, allocations: 43.98 kB / 1.21 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001567/0.9399, allocations: 0.9942 MB / 1.211 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9399, allocations: 0 / 1.211 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002303/0.9422, allocations: 0.6836 MB / 1.212 GB, free: 4.738 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.006523/0.9488, allocations: 4.604 MB / 1.216 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006901/0.9557, allocations: 4.108 MB / 1.22 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.9557, allocations: 0.875 kB / 1.22 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00346/0.9592, allocations: 2.299 MB / 1.222 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.9626, allocations: 0.6765 MB / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03708/0.9997, allocations: 22.71 MB / 1.245 GB, free: 400 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4451/1.445, allocations: 2.661 MB / 1.248 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001805/1.447, allocations: 487.9 kB / 1.248 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.448, allocations: 1.281 MB / 1.249 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.448, allocations: 3.031 kB / 1.249 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/1.568, allocations: 56.27 MB / 1.304 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/12.18, allocations: 4.297 kB / 1.304 GB, free: 180.9 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