Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.008685/0.008685, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001726/0.001726, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 62.66 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2701, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04328/0.3135, allocations: 41.18 MB / 1.128 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02332/0.3368, allocations: 15.09 MB / 1.142 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004506/0.3413, allocations: 187.1 kB / 1.143 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01244/0.3539, allocations: 4.463 MB / 1.147 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.3657, allocations: 2.79 MB / 1.15 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.3771, allocations: 3.157 MB / 1.153 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01522/0.3924, allocations: 11.4 MB / 1.164 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01784/0.4103, allocations: 12.47 MB / 1.176 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007977/0.4183, allocations: 4.911 MB / 1.181 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008657/0.427, allocations: 5.39 MB / 1.186 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002937/0.4299, allocations: 0.9492 MB / 1.187 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005279/0.4352, allocations: 2.044 MB / 1.189 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.005233/0.4405, allocations: 3.695 MB / 1.193 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.007966/0.4485, allocations: 4.295 MB / 1.197 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.4651, allocations: 14.28 MB / 1.211 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4651, allocations: 0 / 1.211 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4651, allocations: 0 / 1.211 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0003797/0.4655, allocations: 0 / 1.211 GB, free: 3.227 MB / 0.9669 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.02005/0.4856, allocations: 7.604 MB / 1.218 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4856, allocations: 8.031 kB / 1.218 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002813/0.4885, allocations: 0.8955 MB / 1.219 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4993, allocations: 1.522 MB / 1.221 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.5115, allocations: 4.439 MB / 1.225 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004976/0.5121, allocations: 456.5 kB / 1.225 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002927/0.515, allocations: 0.5978 MB / 1.226 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/0.542, allocations: 10.69 MB / 1.236 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003444/0.5424, allocations: 23.78 kB / 1.236 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002424/0.5448, allocations: 267.9 kB / 1.237 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003088/0.5479, allocations: 0.7729 MB / 1.237 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.5654, allocations: 8.557 MB / 1.246 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6698/1.235, allocations: 46.53 MB / 1.291 GB, free: 120.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007611/1.243, allocations: 4.309 MB / 1.295 GB, free: 119 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006865/1.25, allocations: 3.71 MB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/1.25, allocations: 36.12 kB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.25, allocations: 75.75 kB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=353): time 7.855e-06/1.25, allocations: 0 / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=578): time 0.5004/1.751, allocations: 122.8 MB / 1.419 GB, free: 18.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/1.751, allocations: 107.9 kB / 1.419 GB, free: 18.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/1.754, allocations: 2.687 MB / 1.422 GB, free: 15.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.756, allocations: 121.7 kB / 1.422 GB, free: 15.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/1.757, allocations: 2.674 MB / 1.425 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.759, allocations: 1.956 MB / 1.426 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002905/1.762, allocations: 0.9248 MB / 1.427 GB, free: 10.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.099e-05/1.762, allocations: 305.1 kB / 1.428 GB, free: 9.715 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005439/1.767, allocations: 4.083 MB / 1.432 GB, free: 5.625 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006121/1.774, allocations: 5.015 MB / 1.437 GB, free: 292 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/1.79, allocations: 9.851 MB / 1.446 GB, free: 6.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.631e-05/1.79, allocations: 8 kB / 1.446 GB, free: 6.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04242/1.832, allocations: 16.99 MB / 1.463 GB, free: 4.922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/1.832, allocations: 16 kB / 1.463 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/1.832, allocations: 20 kB / 1.463 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03453/1.867, allocations: 9.08 MB / 1.472 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/1.87, allocations: 0.523 MB / 1.472 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1143/1.984, allocations: 76.97 MB / 1.547 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/1.989, allocations: 275.8 kB / 1.548 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.991, allocations: 195.9 kB / 1.548 GB, free: 12.27 MB / 1.139 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.005221/1.996, allocations: 2.425 MB / 1.55 GB, free: 9.832 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/1.997, allocations: 470.5 kB / 1.551 GB, free: 9.367 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04196/2.039, allocations: 16.82 MB / 1.567 GB, free: 8.398 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-05/2.04, allocations: 52 kB / 1.567 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002308/2.04, allocations: 72 kB / 1.567 GB, free: 8.277 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001319/2.04, allocations: 27.89 kB / 1.567 GB, free: 8.25 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05969/2.1, allocations: 25.66 MB / 1.592 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.936e-05/2.1, allocations: 8 kB / 1.592 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/2.102, allocations: 326.3 kB / 1.593 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02975/2.131, allocations: 8.266 MB / 1.601 GB, free: 5.734 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001191/2.133, allocations: 112 kB / 1.601 GB, free: 5.625 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1101/2.243, allocations: 73.82 MB / 1.673 GB, free: 10.26 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/2.243, allocations: 11.94 kB / 1.673 GB, free: 10.25 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04952/2.292, allocations: 21.57 MB / 1.694 GB, free: 4.324 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004579/2.297, allocations: 1.362 MB / 1.695 GB, free: 2.938 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002115/2.299, allocations: 115.8 kB / 1.695 GB, free: 2.824 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004889/2.304, allocations: 291.6 kB / 1.696 GB, free: 2.539 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002813/2.307, allocations: 0.5143 MB / 1.696 GB, free: 2.02 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001251/2.308, allocations: 147.9 kB / 1.696 GB, free: 1.875 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004134/2.312, allocations: 1.772 MB / 1.698 GB, free: 116 kB / 1.279 GB Notification: Performance of sort global known variables: time 4.21e-07/2.312, allocations: 4 kB / 1.698 GB, free: 112 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.01184/2.324, allocations: 2.465 MB / 1.7 GB, free: 13.64 MB / 1.295 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.05077/2.375, allocations: 22.26 MB / 1.722 GB, free: 7.02 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.03114/2.406, allocations: 14.54 MB / 1.736 GB, free: 8.285 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/2.406, allocations: 4 kB / 1.736 GB, free: 8.281 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.0203/2.427, allocations: 9.351 MB / 1.745 GB, free: 14.79 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009618/2.436, allocations: 1.377 MB / 1.747 GB, free: 13.45 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.728/3.164, allocations: 70.17 MB / 1.815 GB, free: 451.5 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008353/3.173, allocations: 4.893 MB / 1.82 GB, free: 449.9 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.003226/3.176, allocations: 0.7418 MB / 1.821 GB, free: 449.9 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004137/3.18, allocations: 2.612 MB / 1.823 GB, free: 447.7 MB / 1.357 GB Notification: Performance of SimCode: time 1.212e-06/3.18, allocations: 0 / 1.823 GB, free: 447.7 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2677/3.448, allocations: 200.1 MB / 2.019 GB, free: 275.9 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.02/24.47, allocations: 7.922 kB / 2.019 GB, free: 275.9 MB / 1.357 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches