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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004759/0.004759, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001379/0.001379, allocations: 197.6 kB / 16.67 MB, free: 5.922 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.583/2.583, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 68.11 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.274, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.5393/0.8133, allocations: 37.59 MB / 1.257 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.8306, allocations: 13.03 MB / 1.27 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/0.8345, allocations: 177 kB / 1.27 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008543/0.8431, allocations: 3.878 MB / 1.274 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006666/0.8498, allocations: 2.488 MB / 1.276 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006905/0.8568, allocations: 2.702 MB / 1.279 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01187/0.8687, allocations: 9.57 MB / 1.288 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0158/0.8845, allocations: 10.52 MB / 1.298 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/0.892, allocations: 3.999 MB / 1.302 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008245/0.9002, allocations: 4.377 MB / 1.306 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002687/0.903, allocations: 0.7702 MB / 1.307 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005845/0.9088, allocations: 1.777 MB / 1.309 GB, free: 10 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006112/0.9149, allocations: 3.04 MB / 1.312 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009893/0.9249, allocations: 3.585 MB / 1.315 GB, free: 6.465 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.9432, allocations: 11.89 MB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9433, allocations: 0 / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.909e-06/0.9433, allocations: 3.984 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002862/0.9436, allocations: 0 / 1.327 GB, free: 0.5742 MB / 1.014 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.01713/0.9607, allocations: 6.516 MB / 1.333 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.9607, allocations: 13.12 kB / 1.333 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001807/0.9626, allocations: 0.7487 MB / 1.334 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007975/0.9705, allocations: 1.331 MB / 1.335 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006525/0.9771, allocations: 3.816 MB / 1.339 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.9774, allocations: 381.2 kB / 1.34 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009016/0.9783, allocations: 0.4914 MB / 1.34 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.9923, allocations: 8.885 MB / 1.349 GB, free: 2.656 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.9924, allocations: 25.86 kB / 1.349 GB, free: 2.641 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006274/0.9931, allocations: 218 kB / 1.349 GB, free: 2.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002002/0.9951, allocations: 0.6346 MB / 1.35 GB, free: 2.262 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/1.006, allocations: 7.012 MB / 1.356 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/1.052, allocations: 40.12 MB / 1.396 GB, free: 1.266 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/1.056, allocations: 2.901 MB / 1.398 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/1.06, allocations: 2.667 MB / 1.401 GB, free: 11.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/1.06, allocations: 30.08 kB / 1.401 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/1.06, allocations: 72.53 kB / 1.401 GB, free: 11.56 MB / 1.092 GB Notification: Performance of pre-optimization done (n=265): time 4.148e-06/1.06, allocations: 0 / 1.401 GB, free: 11.56 MB / 1.092 GB Notification: Performance of matching and sorting (n=424): time 0.28/1.34, allocations: 74.77 MB / 1.474 GB, free: 136 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/1.34, allocations: 94.73 kB / 1.474 GB, free: 28 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/1.343, allocations: 2.363 MB / 1.476 GB, free: 13.65 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.00031/1.343, allocations: 97.7 kB / 1.477 GB, free: 13.55 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001609/1.345, allocations: 2.395 MB / 1.479 GB, free: 11.14 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.346, allocations: 1.518 MB / 1.48 GB, free: 9.605 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/1.348, allocations: 0.7256 MB / 1.481 GB, free: 8.867 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.348, allocations: 301.1 kB / 1.481 GB, free: 8.57 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004151/1.352, allocations: 2.999 MB / 1.484 GB, free: 5.562 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00479/1.357, allocations: 3.847 MB / 1.488 GB, free: 1.383 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009539/1.366, allocations: 7.387 MB / 1.495 GB, free: 9.672 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/1.366, allocations: 4 kB / 1.495 GB, free: 9.668 MB / 1.186 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02709/1.393, allocations: 12.57 MB / 1.508 GB, free: 12.99 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/1.393, allocations: 12 kB / 1.508 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/1.393, allocations: 24 kB / 1.508 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02186/1.415, allocations: 6.033 MB / 1.514 GB, free: 6.859 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/1.417, allocations: 495.2 kB / 1.514 GB, free: 6.375 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08587/1.503, allocations: 73.05 MB / 1.585 GB, free: 9.992 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/1.507, allocations: 211.8 kB / 1.586 GB, free: 9.785 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/1.507, allocations: 156 kB / 1.586 GB, free: 9.633 MB / 1.279 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.003315/1.511, allocations: 1.993 MB / 1.588 GB, free: 7.629 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/1.511, allocations: 409.5 kB / 1.588 GB, free: 7.227 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02793/1.539, allocations: 12.23 MB / 1.6 GB, free: 10.88 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/1.539, allocations: 40 kB / 1.6 GB, free: 10.84 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.854e-05/1.54, allocations: 51.94 kB / 1.6 GB, free: 10.79 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/1.54, allocations: 23.92 kB / 1.6 GB, free: 10.76 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03729/1.577, allocations: 19.15 MB / 1.619 GB, free: 7.352 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/1.577, allocations: 8 kB / 1.619 GB, free: 7.344 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/1.578, allocations: 287.5 kB / 1.619 GB, free: 7.062 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02004/1.598, allocations: 5.572 MB / 1.624 GB, free: 1.422 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003357/1.599, allocations: 80 kB / 1.625 GB, free: 1.344 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08513/1.684, allocations: 70.67 MB / 1.694 GB, free: 7.34 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/1.684, allocations: 11.94 kB / 1.694 GB, free: 7.328 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0313/1.715, allocations: 15.65 MB / 1.709 GB, free: 7.434 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/1.718, allocations: 1.061 MB / 1.71 GB, free: 6.352 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000619/1.718, allocations: 83.98 kB / 1.71 GB, free: 6.27 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/1.721, allocations: 211.7 kB / 1.71 GB, free: 6.062 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/1.722, allocations: 406.4 kB / 1.711 GB, free: 5.664 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003028/1.722, allocations: 108 kB / 1.711 GB, free: 5.559 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.002124/1.725, allocations: 1.56 MB / 1.712 GB, free: 4 MB / 1.404 GB Notification: Performance of sort global known variables: time 1.5e-07/1.725, allocations: 0 / 1.712 GB, free: 4 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.005319/1.73, allocations: 1.863 MB / 1.714 GB, free: 2.137 MB / 1.404 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.03115/1.761, allocations: 16.3 MB / 1.73 GB, free: 1.578 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.02083/1.782, allocations: 12.25 MB / 1.742 GB, free: 5.008 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.782, allocations: 4.375 kB / 1.742 GB, free: 5.004 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.01442/1.796, allocations: 8.375 MB / 1.75 GB, free: 12.31 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004888/1.801, allocations: 1.193 MB / 1.751 GB, free: 11.16 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09456/1.896, allocations: 54.07 MB / 1.804 GB, free: 3.539 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004632/1.9, allocations: 4.079 MB / 1.808 GB, free: 15.42 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.002128/1.903, allocations: 0.6708 MB / 1.809 GB, free: 14.74 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002535/1.905, allocations: 2.132 MB / 1.811 GB, free: 12.61 MB / 1.514 GB Notification: Performance of SimCode: time 7.31e-07/1.905, allocations: 0 / 1.811 GB, free: 12.61 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.329/9.234, allocations: 150.9 MB / 1.958 GB, free: 442.4 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.66/61.89, allocations: 7.5 kB / 1.958 GB, free: 442.4 MB / 1.514 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches