Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 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.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001579/0.001579, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001849/0.001849, allocations: 194.3 kB / 16.25 MB, free: 6.637 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.262/2.262, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5402, allocations: 140.4 MB / 0.9493 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0208/0.561, allocations: 22.41 MB / 0.9711 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009879/0.571, allocations: 6.186 MB / 0.9772 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.5727, allocations: 85.12 kB / 0.9773 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003765/0.5765, allocations: 1.42 MB / 0.9786 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.5802, allocations: 1.518 MB / 0.9801 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.5831, allocations: 1.221 MB / 0.9813 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005916/0.5891, allocations: 5.96 MB / 0.9871 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009622/0.5987, allocations: 7.252 MB / 0.9942 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.6024, allocations: 2.449 MB / 0.9966 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/0.6066, allocations: 3.038 MB / 0.9996 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.6079, allocations: 460 kB / 1 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.6109, allocations: 1.096 MB / 1.001 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003015/0.614, allocations: 2.035 MB / 1.003 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004388/0.6184, allocations: 2.167 MB / 1.005 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008065/0.6264, allocations: 7.307 MB / 1.012 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6265, allocations: 4 kB / 1.012 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6265, allocations: 3.938 kB / 1.012 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002158/0.6267, allocations: 0 / 1.012 GB, free: 1.25 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00846/0.6352, allocations: 3.809 MB / 1.016 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.6353, allocations: 8.031 kB / 1.016 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001372/0.6366, allocations: 0.5053 MB / 1.017 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006472/0.6431, allocations: 1.214 MB / 1.018 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/0.6474, allocations: 2.219 MB / 1.02 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.6476, allocations: 246.4 kB / 1.02 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000928/0.6486, allocations: 308 kB / 1.02 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.6599, allocations: 6.212 MB / 1.027 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.66, allocations: 15.78 kB / 1.027 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006156/0.6606, allocations: 143.9 kB / 1.027 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000462/0.6611, allocations: 402.3 kB / 1.027 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008131/0.6692, allocations: 4.658 MB / 1.032 GB, free: 13.13 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.6992, allocations: 29.14 MB / 1.06 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.7011, allocations: 1.416 MB / 1.061 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.7028, allocations: 1.487 MB / 1.063 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.703, allocations: 13 kB / 1.063 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.703, allocations: 51.42 kB / 1.063 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 3.036e-06/0.703, allocations: 4 kB / 1.063 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.1357/0.8387, allocations: 37.22 MB / 1.099 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.8388, allocations: 77.34 kB / 1.099 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.8408, allocations: 1.423 MB / 1.101 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.841, allocations: 57.7 kB / 1.101 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008447/0.8419, allocations: 1.542 MB / 1.102 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005605/0.8424, allocations: 0.6123 MB / 1.103 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007289/0.8432, allocations: 379.3 kB / 1.103 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/0.8433, allocations: 305.1 kB / 1.104 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.8456, allocations: 1.784 MB / 1.105 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/0.8483, allocations: 2.35 MB / 1.108 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005458/0.8538, allocations: 4.394 MB / 1.112 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.8538, allocations: 4 kB / 1.112 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0171/0.8709, allocations: 8.566 MB / 1.12 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.871, allocations: 12 kB / 1.12 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.871, allocations: 16 kB / 1.12 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01475/0.8857, allocations: 4.671 MB / 1.125 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.8869, allocations: 299.4 kB / 1.125 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04443/0.9314, allocations: 32.61 MB / 1.157 GB, free: 8.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.9333, allocations: 151.8 kB / 1.157 GB, free: 8.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.9336, allocations: 80 kB / 1.157 GB, free: 8.203 MB / 0.92 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002043/0.9356, allocations: 1.34 MB / 1.159 GB, free: 6.852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/0.9361, allocations: 201.6 kB / 1.159 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/0.9533, allocations: 8.433 MB / 1.167 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.9534, allocations: 16 kB / 1.167 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.79e-05/0.9535, allocations: 31.94 kB / 1.167 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.891e-05/0.9536, allocations: 7.969 kB / 1.167 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/0.9775, allocations: 12.85 MB / 1.18 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.9775, allocations: 4 kB / 1.18 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/0.9782, allocations: 163.7 kB / 1.18 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/0.9925, allocations: 4.514 MB / 1.184 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.9928, allocations: 40 kB / 1.184 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04395/1.037, allocations: 32.23 MB / 1.216 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.037, allocations: 7.938 kB / 1.216 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/1.053, allocations: 8.244 MB / 1.224 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/1.054, allocations: 0.6157 MB / 1.224 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004988/1.055, allocations: 36 kB / 1.224 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.056, allocations: 135.8 kB / 1.224 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007701/1.057, allocations: 176.8 kB / 1.225 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.057, allocations: 48 kB / 1.225 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001312/1.058, allocations: 0.9626 MB / 1.226 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.058, allocations: 0 / 1.226 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003248/1.062, allocations: 1.117 MB / 1.227 GB, free: 15.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01655/1.078, allocations: 8.841 MB / 1.235 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.091, allocations: 7.058 MB / 1.242 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.091, allocations: 0 / 1.242 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008788/1.1, allocations: 4.363 MB / 1.246 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/1.103, allocations: 0.5343 MB / 1.247 GB, free: 10.72 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4326/1.536, allocations: 36.71 MB / 1.283 GB, free: 273.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/1.538, allocations: 2.722 MB / 1.286 GB, free: 271.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001165/1.54, allocations: 395.5 kB / 1.286 GB, free: 271.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009887/1.541, allocations: 1.211 MB / 1.287 GB, free: 270.6 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.541, allocations: 0 / 1.287 GB, free: 270.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9023/2.443, allocations: 83.3 MB / 1.368 GB, free: 197.9 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/2.443, allocations: 255.2 kB / 1.369 GB, free: 197.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/5.522, allocations: 1.125 kB / 1.369 GB, free: 197.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches