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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001175/0.001175, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.119/2.119, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 55.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5064, allocations: 140.4 MB / 0.949 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01905/0.5255, allocations: 22.42 MB / 0.9709 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008895/0.5345, allocations: 6.252 MB / 0.977 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009974/0.5355, allocations: 84.59 kB / 0.9771 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003001/0.5385, allocations: 1.416 MB / 0.9785 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.541, allocations: 1.544 MB / 0.98 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.5433, allocations: 1.216 MB / 0.9812 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006761/0.5501, allocations: 8.858 MB / 0.9899 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007418/0.5575, allocations: 6.731 MB / 0.9964 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.5598, allocations: 2.059 MB / 0.9984 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.5626, allocations: 2.964 MB / 1.001 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004336/0.5631, allocations: 316 kB / 1.002 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.5649, allocations: 1.135 MB / 1.003 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.5663, allocations: 1.902 MB / 1.005 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.568, allocations: 2.003 MB / 1.007 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004789/0.5728, allocations: 7.186 MB / 1.014 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5728, allocations: 0 / 1.014 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5728, allocations: 0 / 1.014 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.431e-05/0.5729, allocations: 4 kB / 1.014 GB, free: 15.82 MB / 0.7794 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.005054/0.5779, allocations: 3.812 MB / 1.017 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.578, allocations: 8.031 kB / 1.017 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005383/0.5785, allocations: 0.5053 MB / 1.018 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.5839, allocations: 1.21 MB / 1.019 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/0.5868, allocations: 2.223 MB / 1.021 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.587, allocations: 238.4 kB / 1.021 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/0.5874, allocations: 315.9 kB / 1.022 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007619/0.595, allocations: 6.212 MB / 1.028 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.105e-05/0.5951, allocations: 15.84 kB / 1.028 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.5954, allocations: 139.9 kB / 1.028 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000413/0.5959, allocations: 410.3 kB / 1.028 GB, free: 368 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00608/0.6019, allocations: 4.658 MB / 1.033 GB, free: 11.69 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.02252/0.6245, allocations: 29.13 MB / 1.061 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.6262, allocations: 1.42 MB / 1.063 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.6279, allocations: 1.487 MB / 1.064 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.8e-05/0.628, allocations: 9 kB / 1.064 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.628, allocations: 51.48 kB / 1.064 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 2.845e-06/0.628, allocations: 0 / 1.064 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.1252/0.7532, allocations: 37.22 MB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.7533, allocations: 73.34 kB / 1.101 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.755, allocations: 1.427 MB / 1.102 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.7552, allocations: 53.7 kB / 1.102 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008911/0.7561, allocations: 1.546 MB / 1.104 GB, free: 420 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005134/0.7566, allocations: 0.6085 MB / 1.104 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006829/0.7573, allocations: 383.3 kB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.7574, allocations: 301.1 kB / 1.105 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.7598, allocations: 1.792 MB / 1.107 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.7626, allocations: 2.35 MB / 1.109 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005443/0.7681, allocations: 4.387 MB / 1.113 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/0.7681, allocations: 8 kB / 1.113 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01656/0.7846, allocations: 8.567 MB / 1.122 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.7847, allocations: 13.72 kB / 1.122 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.7847, allocations: 16 kB / 1.122 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/0.7988, allocations: 4.637 MB / 1.126 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.7999, allocations: 307.4 kB / 1.126 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04083/0.8408, allocations: 29.66 MB / 1.155 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.8429, allocations: 151.8 kB / 1.155 GB, free: 9.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.8431, allocations: 80 kB / 1.156 GB, free: 9.789 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.002382/0.8455, allocations: 1.334 MB / 1.157 GB, free: 8.445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/0.846, allocations: 197.7 kB / 1.157 GB, free: 8.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/0.8625, allocations: 8.441 MB / 1.165 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.8625, allocations: 19.94 kB / 1.165 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-05/0.8626, allocations: 28 kB / 1.165 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.8626, allocations: 15.89 kB / 1.165 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/0.8856, allocations: 12.83 MB / 1.178 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.8856, allocations: 8 kB / 1.178 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.8862, allocations: 164.5 kB / 1.178 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01359/0.8998, allocations: 4.496 MB / 1.182 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.9001, allocations: 40 kB / 1.182 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03955/0.9396, allocations: 29.26 MB / 1.211 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.9396, allocations: 11.94 kB / 1.211 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.9552, allocations: 8.244 MB / 1.219 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.9564, allocations: 0.6118 MB / 1.22 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.9567, allocations: 35.98 kB / 1.22 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.9578, allocations: 139.8 kB / 1.22 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000618/0.9584, allocations: 172.8 kB / 1.22 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.9586, allocations: 52 kB / 1.22 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001281/0.9599, allocations: 0.9588 MB / 1.221 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9599, allocations: 0 / 1.221 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002828/0.9627, allocations: 1.117 MB / 1.222 GB, free: 4.414 MB / 0.9825 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.01573/0.9784, allocations: 8.828 MB / 1.231 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.011/0.9895, allocations: 6.511 MB / 1.237 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9895, allocations: 0 / 1.237 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007924/0.9974, allocations: 4.366 MB / 1.241 GB, free: 424 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.9996, allocations: 494.8 kB / 1.242 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.418/1.418, allocations: 36.72 MB / 1.278 GB, free: 276.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/1.42, allocations: 2.723 MB / 1.28 GB, free: 275.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000975/1.421, allocations: 390.5 kB / 1.281 GB, free: 275.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009179/1.422, allocations: 1.215 MB / 1.282 GB, free: 274.1 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.422, allocations: 0 / 1.282 GB, free: 274.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.911/3.333, allocations: 80.95 MB / 1.361 GB, free: 205.8 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/3.333, allocations: 253.8 kB / 1.361 GB, free: 205.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/6.329, allocations: 8 kB / 1.361 GB, free: 205.6 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