Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001021/0.001021, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000798/0.000798, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8404/0.8404, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.684/1.684, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ACLineMatrix_RL,fileNamePrefix="Buildings_12_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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.981 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.508e-05, allocations: 2.281 kB / 0.981 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0146/0.01461, allocations: 21.12 MB / 1.002 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007232/0.02185, allocations: 6.131 MB / 1.008 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009947/0.02284, allocations: 127.1 kB / 1.008 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.0247, allocations: 1.565 MB / 1.009 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.02697, allocations: 1.776 MB / 1.011 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.02872, allocations: 1.355 MB / 1.012 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.03253, allocations: 6.048 MB / 1.018 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002951/0.03548, allocations: 3.198 MB / 1.021 GB, free: 7.883 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.03841, allocations: 3.446 MB / 1.025 GB, free: 4.43 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.04054, allocations: 2.771 MB / 1.027 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0005073/0.04105, allocations: 460 kB / 1.028 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.04223, allocations: 1.053 MB / 1.029 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.4112/0.4534, allocations: 2.187 MB / 1.031 GB, free: 28.76 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.4552, allocations: 1.5 MB / 1.032 GB, free: 28.76 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.006937/0.4622, allocations: 7.435 MB / 1.04 GB, free: 28.52 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.4622, allocations: 0.7812 kB / 1.04 GB, free: 28.52 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4622, allocations: 0 / 1.04 GB, free: 28.52 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001167/0.4623, allocations: 3.281 kB / 1.04 GB, free: 28.52 MB / 0.9323 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.006245/0.4685, allocations: 3.796 MB / 1.043 GB, free: 26.95 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4686, allocations: 9.875 kB / 1.043 GB, free: 26.95 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000557/0.4691, allocations: 0.5014 MB / 1.044 GB, free: 26.89 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/0.4727, allocations: 1.238 MB / 1.045 GB, free: 26.67 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.4757, allocations: 2.304 MB / 1.047 GB, free: 26.16 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.4758, allocations: 243.5 kB / 1.048 GB, free: 26.15 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.4762, allocations: 311.4 kB / 1.048 GB, free: 26.15 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006816/0.483, allocations: 6.446 MB / 1.054 GB, free: 24.25 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.489e-05/0.4831, allocations: 17.66 kB / 1.054 GB, free: 24.24 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/0.4834, allocations: 140.7 kB / 1.054 GB, free: 24.15 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003734/0.4838, allocations: 404.4 kB / 1.055 GB, free: 24.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/0.4891, allocations: 4.654 MB / 1.059 GB, free: 22.59 MB / 0.9323 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.01484/0.504, allocations: 18.64 MB / 1.078 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.5053, allocations: 1.365 MB / 1.079 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.5065, allocations: 1.433 MB / 1.08 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.5065, allocations: 11.59 kB / 1.08 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.5066, allocations: 50.36 kB / 1.08 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 2.515e-06/0.5066, allocations: 0 / 1.08 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=179): time 0.06924/0.5758, allocations: 37.07 MB / 1.117 GB, free: 9.125 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.5759, allocations: 69.41 kB / 1.117 GB, free: 9.047 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.5772, allocations: 1.458 MB / 1.118 GB, free: 7.582 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.5774, allocations: 49.7 kB / 1.118 GB, free: 7.527 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/0.5781, allocations: 1.58 MB / 1.12 GB, free: 5.941 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.5784, allocations: 0.6372 MB / 1.12 GB, free: 5.312 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004769/0.5789, allocations: 379.5 kB / 1.121 GB, free: 4.934 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.579, allocations: 301.1 kB / 1.121 GB, free: 4.637 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.5807, allocations: 1.784 MB / 1.123 GB, free: 2.848 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.5827, allocations: 2.35 MB / 1.125 GB, free: 260 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003807/0.5865, allocations: 4.387 MB / 1.129 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.5865, allocations: 15.94 kB / 1.129 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01045/0.5969, allocations: 8.428 MB / 1.137 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.597, allocations: 12 kB / 1.137 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.597, allocations: 16 kB / 1.137 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007864/0.6048, allocations: 4.616 MB / 1.142 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.6054, allocations: 298.1 kB / 1.142 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02837/0.6338, allocations: 31.59 MB / 1.173 GB, free: 14.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.6353, allocations: 151.8 kB / 1.173 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6354, allocations: 87.94 kB / 1.173 GB, free: 14.11 MB / 1.01 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.002249/0.6376, allocations: 1.331 MB / 1.175 GB, free: 12.79 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.6378, allocations: 206.7 kB / 1.175 GB, free: 12.59 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.6481, allocations: 8.295 MB / 1.183 GB, free: 4.352 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.6481, allocations: 20 kB / 1.183 GB, free: 4.332 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/0.6481, allocations: 31.98 kB / 1.183 GB, free: 4.301 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6482, allocations: 11.25 kB / 1.183 GB, free: 4.293 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.6627, allocations: 12.21 MB / 1.195 GB, free: 8.113 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.6627, allocations: 11.72 kB / 1.195 GB, free: 8.105 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.6631, allocations: 166.8 kB / 1.195 GB, free: 7.953 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00756/0.6706, allocations: 4.463 MB / 1.199 GB, free: 3.484 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.6707, allocations: 40 kB / 1.199 GB, free: 3.445 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02744/0.6982, allocations: 31.19 MB / 1.23 GB, free: 3.656 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.6982, allocations: 7.562 kB / 1.23 GB, free: 3.652 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.7083, allocations: 8.085 MB / 1.238 GB, free: 11.52 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009911/0.7093, allocations: 0.5602 MB / 1.238 GB, free: 10.96 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.7095, allocations: 36 kB / 1.238 GB, free: 10.92 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/0.7102, allocations: 138.6 kB / 1.239 GB, free: 10.79 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005712/0.7108, allocations: 180.7 kB / 1.239 GB, free: 10.61 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-05/0.7109, allocations: 52 kB / 1.239 GB, free: 10.56 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0009441/0.7118, allocations: 0.9548 MB / 1.24 GB, free: 9.609 MB / 1.073 GB Notification: Performance of sort global known variables: time 5e-08/0.7118, allocations: 0 / 1.24 GB, free: 9.609 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002498/0.7143, allocations: 1.117 MB / 1.241 GB, free: 8.492 MB / 1.073 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.01044/0.7248, allocations: 8.681 MB / 1.249 GB, free: 15.67 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.007507/0.7323, allocations: 6.301 MB / 1.255 GB, free: 9.336 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7323, allocations: 0 / 1.255 GB, free: 9.336 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005029/0.7373, allocations: 4.176 MB / 1.259 GB, free: 5.094 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.739, allocations: 0.5239 MB / 1.26 GB, free: 4.582 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/0.779, allocations: 33.58 MB / 1.293 GB, free: 2.094 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/0.7813, allocations: 2.166 MB / 1.295 GB, free: 15.89 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0007945/0.7821, allocations: 388.5 kB / 1.295 GB, free: 15.5 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009255/0.783, allocations: 1.215 MB / 1.296 GB, free: 14.29 MB / 1.135 GB Notification: Performance of SimCode: time 1.773e-06/0.783, allocations: 0 / 1.296 GB, free: 14.29 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09528/0.8783, allocations: 90 MB / 1.384 GB, free: 5.137 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/9.374, allocations: 15.86 kB / 1.384 GB, free: 5.121 MB / 1.214 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.446144388057292]