Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.703/2.703, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 1.104 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7696, allocations: 168.7 MB / 1.269 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04829/0.8179, allocations: 38.18 MB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.8424, allocations: 13.19 MB / 1.319 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/0.8473, allocations: 171.1 kB / 1.319 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.8585, allocations: 3.954 MB / 1.323 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009137/0.8676, allocations: 2.612 MB / 1.326 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007731/0.8754, allocations: 2.711 MB / 1.328 GB, free: 8.246 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.8889, allocations: 9.567 MB / 1.338 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.9, allocations: 7.69 MB / 1.345 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007703/0.9077, allocations: 4.074 MB / 1.349 GB, free: 2.742 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008228/0.9159, allocations: 4.669 MB / 1.354 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002531/0.9185, allocations: 0.7734 MB / 1.354 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.9231, allocations: 1.81 MB / 1.356 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00401/0.9271, allocations: 3.117 MB / 1.359 GB, free: 8.348 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005613/0.9327, allocations: 3.583 MB / 1.363 GB, free: 4.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.9476, allocations: 11.88 MB / 1.374 GB, free: 8.828 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.9476, allocations: 0 / 1.374 GB, free: 8.828 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9476, allocations: 0 / 1.374 GB, free: 8.828 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000336/0.9479, allocations: 0 / 1.374 GB, free: 8.828 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01836/0.9663, allocations: 6.518 MB / 1.381 GB, free: 2.227 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.9663, allocations: 8.031 kB / 1.381 GB, free: 2.219 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0016/0.9679, allocations: 0.7519 MB / 1.381 GB, free: 1.457 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008391/0.9763, allocations: 1.336 MB / 1.383 GB, free: 120 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009433/0.9857, allocations: 3.813 MB / 1.386 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.9861, allocations: 386.5 kB / 1.387 GB, free: 11.85 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.9874, allocations: 496.3 kB / 1.387 GB, free: 11.37 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/1.004, allocations: 8.89 MB / 1.396 GB, free: 2.125 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/1.004, allocations: 27.77 kB / 1.396 GB, free: 2.098 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006266/1.004, allocations: 223.9 kB / 1.396 GB, free: 1.879 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/1.007, allocations: 0.6304 MB / 1.397 GB, free: 1.246 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/1.02, allocations: 7.014 MB / 1.404 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05815/1.079, allocations: 40.11 MB / 1.443 GB, free: 14.88 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/1.083, allocations: 2.652 MB / 1.445 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003741/1.087, allocations: 2.421 MB / 1.448 GB, free: 9.781 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/1.087, allocations: 34.02 kB / 1.448 GB, free: 9.746 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.439e-05/1.087, allocations: 68.59 kB / 1.448 GB, free: 9.668 MB / 1.154 GB Notification: Performance of pre-optimization done (n=265): time 4.318e-06/1.087, allocations: 0 / 1.448 GB, free: 9.668 MB / 1.154 GB Notification: Performance of matching and sorting (n=424): time 0.295/1.382, allocations: 74.59 MB / 1.521 GB, free: 14.43 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/1.382, allocations: 98.67 kB / 1.521 GB, free: 14.32 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/1.386, allocations: 2.367 MB / 1.523 GB, free: 11.94 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0009224/1.387, allocations: 97.7 kB / 1.523 GB, free: 11.84 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.389, allocations: 2.399 MB / 1.525 GB, free: 9.418 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.391, allocations: 1.514 MB / 1.527 GB, free: 7.891 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/1.392, allocations: 0.7256 MB / 1.528 GB, free: 7.152 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.392, allocations: 301.1 kB / 1.528 GB, free: 6.855 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004569/1.397, allocations: 2.995 MB / 1.531 GB, free: 3.852 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/1.402, allocations: 3.847 MB / 1.535 GB, free: 15.67 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/1.413, allocations: 7.38 MB / 1.542 GB, free: 7.969 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/1.413, allocations: 11.94 kB / 1.542 GB, free: 7.957 MB / 1.248 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03087/1.444, allocations: 12.39 MB / 1.554 GB, free: 11.46 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/1.444, allocations: 16 kB / 1.554 GB, free: 11.45 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/1.444, allocations: 20 kB / 1.554 GB, free: 11.43 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02354/1.467, allocations: 6.027 MB / 1.56 GB, free: 5.332 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/1.47, allocations: 499.2 kB / 1.56 GB, free: 4.844 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6975/2.167, allocations: 73.04 MB / 1.632 GB, free: 296.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/2.172, allocations: 214.8 kB / 1.632 GB, free: 296.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007274/2.172, allocations: 152 kB / 1.632 GB, free: 296 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004111/2.176, allocations: 2.001 MB / 1.634 GB, free: 295.2 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009834/2.177, allocations: 409.5 kB / 1.634 GB, free: 295.2 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02504/2.202, allocations: 12.05 MB / 1.646 GB, free: 290.4 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/2.203, allocations: 39.34 kB / 1.646 GB, free: 290.4 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00014/2.203, allocations: 47.12 kB / 1.646 GB, free: 290.4 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.655e-05/2.203, allocations: 19.45 kB / 1.646 GB, free: 290.4 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03507/2.238, allocations: 18.96 MB / 1.665 GB, free: 282.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/2.238, allocations: 11.44 kB / 1.665 GB, free: 282.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/2.239, allocations: 286.8 kB / 1.665 GB, free: 282.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01873/2.258, allocations: 5.571 MB / 1.67 GB, free: 281.5 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006003/2.259, allocations: 86.86 kB / 1.671 GB, free: 281.4 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06234/2.321, allocations: 70.65 MB / 1.74 GB, free: 209.2 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/2.321, allocations: 15.94 kB / 1.74 GB, free: 209.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/2.347, allocations: 15.46 MB / 1.755 GB, free: 193.5 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/2.349, allocations: 1.061 MB / 1.756 GB, free: 192.4 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000574/2.35, allocations: 83.94 kB / 1.756 GB, free: 192.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/2.352, allocations: 211.7 kB / 1.756 GB, free: 192.1 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/2.353, allocations: 414.2 kB / 1.756 GB, free: 191.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/2.354, allocations: 104 kB / 1.757 GB, free: 191.6 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001728/2.355, allocations: 1.556 MB / 1.758 GB, free: 190.1 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/2.355, allocations: 0 / 1.758 GB, free: 190.1 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.004821/2.36, allocations: 1.863 MB / 1.76 GB, free: 188.2 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02526/2.385, allocations: 16.13 MB / 1.776 GB, free: 171.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01739/2.403, allocations: 11.6 MB / 1.787 GB, free: 160 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/2.403, allocations: 4 kB / 1.787 GB, free: 160 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0131/2.416, allocations: 8.125 MB / 1.795 GB, free: 151.5 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/2.421, allocations: 1.193 MB / 1.796 GB, free: 150.4 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08204/2.503, allocations: 53.68 MB / 1.848 GB, free: 95.2 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003783/2.506, allocations: 4.087 MB / 1.852 GB, free: 91.08 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002006/2.508, allocations: 0.6708 MB / 1.853 GB, free: 90.4 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/2.51, allocations: 2.135 MB / 1.855 GB, free: 88.27 MB / 1.311 GB Notification: Performance of SimCode: time 1.002e-06/2.51, allocations: 0 / 1.855 GB, free: 88.27 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.353/2.863, allocations: 151.9 MB / 2.004 GB, free: 1.695 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.33/21.2, allocations: 10.41 kB / 2.004 GB, free: 1.688 MB / 1.373 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 27.951488849706948]