Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 215.3 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.077/3.077, allocations: 0.49 GB / 0.7959 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 65.25 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04899/0.3891, allocations: 43.04 MB / 1.369 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02648/0.4156, allocations: 15.77 MB / 1.384 GB, free: 6.949 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004993/0.4206, allocations: 246.1 kB / 1.384 GB, free: 6.707 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0129/0.4335, allocations: 4.681 MB / 1.389 GB, free: 2.016 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008547/0.4421, allocations: 2.923 MB / 1.392 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008725/0.4508, allocations: 3.253 MB / 1.395 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01633/0.4671, allocations: 11.43 MB / 1.406 GB, free: 364 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01365/0.4808, allocations: 6.78 MB / 1.413 GB, free: 9.449 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.4912, allocations: 4.97 MB / 1.418 GB, free: 4.465 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.502, allocations: 5.748 MB / 1.423 GB, free: 14.7 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003299/0.5053, allocations: 0.9492 MB / 1.424 GB, free: 13.75 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006049/0.5113, allocations: 2.068 MB / 1.426 GB, free: 11.68 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00704/0.5184, allocations: 3.792 MB / 1.43 GB, free: 7.879 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.009647/0.528, allocations: 4.299 MB / 1.434 GB, free: 3.562 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02086/0.5489, allocations: 14.32 MB / 1.448 GB, free: 5.195 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5489, allocations: 3.938 kB / 1.448 GB, free: 5.191 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5489, allocations: 0 / 1.448 GB, free: 5.191 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004721/0.5494, allocations: 4 kB / 1.448 GB, free: 5.188 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02479/0.5742, allocations: 7.704 MB / 1.456 GB, free: 13.41 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.5742, allocations: 16.02 kB / 1.456 GB, free: 13.39 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000185/0.5744, allocations: 168.3 kB / 1.456 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003271/0.5777, allocations: 0.8916 MB / 1.457 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.5893, allocations: 1.561 MB / 1.458 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.601, allocations: 4.382 MB / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006492/0.6017, allocations: 456.5 kB / 1.463 GB, free: 5.84 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003192/0.6049, allocations: 0.5979 MB / 1.463 GB, free: 5.242 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02564/0.6305, allocations: 10.69 MB / 1.474 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002571/0.6308, allocations: 35.7 kB / 1.474 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/0.6325, allocations: 259.9 kB / 1.474 GB, free: 9.891 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002965/0.6355, allocations: 0.7729 MB / 1.475 GB, free: 9.113 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.655, allocations: 8.561 MB / 1.483 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07143/0.7264, allocations: 46.25 MB / 1.528 GB, free: 14.5 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006783/0.7332, allocations: 3.982 MB / 1.532 GB, free: 10.5 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005757/0.7389, allocations: 3.365 MB / 1.536 GB, free: 7.133 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.7392, allocations: 38.78 kB / 1.536 GB, free: 7.094 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.829e-05/0.7393, allocations: 73.28 kB / 1.536 GB, free: 7.012 MB / 1.232 GB Notification: Performance of pre-optimization done (n=353): time 5.21e-06/0.7393, allocations: 0 / 1.536 GB, free: 7.012 MB / 1.232 GB Notification: Performance of matching and sorting (n=578): time 1.2/1.939, allocations: 121.1 MB / 1.654 GB, free: 243.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.939, allocations: 114.8 kB / 1.654 GB, free: 243.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/1.942, allocations: 2.684 MB / 1.657 GB, free: 241.1 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009995/1.943, allocations: 117.7 kB / 1.657 GB, free: 241 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.945, allocations: 2.753 MB / 1.66 GB, free: 238.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.00189/1.946, allocations: 2.049 MB / 1.662 GB, free: 236.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/1.948, allocations: 0.925 MB / 1.662 GB, free: 235.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.486e-05/1.948, allocations: 305.1 kB / 1.663 GB, free: 235.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00476/1.953, allocations: 4.083 MB / 1.667 GB, free: 231.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/1.958, allocations: 5.011 MB / 1.672 GB, free: 226 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/1.969, allocations: 9.851 MB / 1.681 GB, free: 215.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/1.969, allocations: 11.94 kB / 1.681 GB, free: 215.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03312/2.003, allocations: 16.74 MB / 1.698 GB, free: 198.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/2.003, allocations: 12 kB / 1.698 GB, free: 198.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/2.003, allocations: 24 kB / 1.698 GB, free: 198.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02757/2.03, allocations: 9.08 MB / 1.706 GB, free: 189.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/2.033, allocations: 0.5265 MB / 1.707 GB, free: 189.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08513/2.118, allocations: 75.9 MB / 1.781 GB, free: 112 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/2.123, allocations: 277.5 kB / 1.781 GB, free: 111.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/2.124, allocations: 192.5 kB / 1.782 GB, free: 111.6 MB / 1.295 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004258/2.128, allocations: 2.429 MB / 1.784 GB, free: 109.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/2.13, allocations: 496.6 kB / 1.784 GB, free: 108.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03436/2.164, allocations: 16.54 MB / 1.801 GB, free: 91.96 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-05/2.164, allocations: 56 kB / 1.801 GB, free: 91.91 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002415/2.164, allocations: 72 kB / 1.801 GB, free: 91.84 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001363/2.164, allocations: 27.89 kB / 1.801 GB, free: 91.81 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04877/2.213, allocations: 25.37 MB / 1.825 GB, free: 66.21 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-05/2.213, allocations: 4 kB / 1.825 GB, free: 66.21 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/2.215, allocations: 320.4 kB / 1.826 GB, free: 65.89 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02624/2.241, allocations: 8.269 MB / 1.834 GB, free: 57.59 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/2.242, allocations: 107.9 kB / 1.834 GB, free: 57.48 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08817/2.33, allocations: 72.79 MB / 1.905 GB, free: 15.44 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/2.33, allocations: 11.94 kB / 1.905 GB, free: 15.43 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04735/2.378, allocations: 21.31 MB / 1.926 GB, free: 9.75 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004796/2.383, allocations: 1.305 MB / 1.927 GB, free: 8.441 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00191/2.384, allocations: 108 kB / 1.927 GB, free: 8.336 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004546/2.389, allocations: 287.6 kB / 1.928 GB, free: 8.055 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002822/2.392, allocations: 0.5605 MB / 1.928 GB, free: 7.492 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001003/2.393, allocations: 144 kB / 1.928 GB, free: 7.352 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.003727/2.397, allocations: 1.772 MB / 1.93 GB, free: 5.59 MB / 1.342 GB Notification: Performance of sort global known variables: time 1e-07/2.397, allocations: 7.938 kB / 1.93 GB, free: 5.582 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.0104/2.407, allocations: 2.462 MB / 1.932 GB, free: 3.121 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.05099/2.458, allocations: 22.01 MB / 1.954 GB, free: 12.74 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.03119/2.489, allocations: 13.75 MB / 1.967 GB, free: 14.79 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.831e-05/2.489, allocations: 4 kB / 1.967 GB, free: 14.79 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.02112/2.51, allocations: 9.012 MB / 1.976 GB, free: 5.621 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009271/2.52, allocations: 1.384 MB / 1.977 GB, free: 4.289 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1629/2.682, allocations: 70.01 MB / 2.046 GB, free: 12.61 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009129/2.692, allocations: 4.893 MB / 2.051 GB, free: 7.672 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002812/2.694, allocations: 0.7448 MB / 2.051 GB, free: 6.922 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00409/2.698, allocations: 2.608 MB / 2.054 GB, free: 4.312 MB / 1.467 GB Notification: Performance of SimCode: time 1.693e-06/2.698, allocations: 4 kB / 2.054 GB, free: 4.309 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9937/3.692, allocations: 204.1 MB / 2.253 GB, free: 0.5288 GB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.78/26.47, allocations: 9.281 kB / 2.253 GB, free: 0.5288 GB / 1.623 GB " [Timeout remaining time 273] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 34.82499823300168]