Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 184.8 kB / 16.92 MB, free: 6.926 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.834/2.834, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003829, allocations: 11.36 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3099, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01172/0.3216, allocations: 9.535 MB / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005911/0.3276, allocations: 3.018 MB / 1.072 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.3287, allocations: 27.88 kB / 1.072 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007882/0.3295, allocations: 186.6 kB / 1.072 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.3316, allocations: 0.6537 MB / 1.072 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.3331, allocations: 0.5489 MB / 1.073 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00439/0.3375, allocations: 4.064 MB / 1.077 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005035/0.3426, allocations: 3.11 MB / 1.08 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.3443, allocations: 0.8366 MB / 1.081 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.3464, allocations: 1.273 MB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004205/0.3469, allocations: 100 kB / 1.082 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.3481, allocations: 459.2 kB / 1.083 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.3494, allocations: 0.8418 MB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.351, allocations: 0.8802 MB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.3541, allocations: 2.802 MB / 1.087 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3541, allocations: 0 / 1.087 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3542, allocations: 0 / 1.087 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.943e-05/0.3543, allocations: 0 / 1.087 GB, free: 8.496 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003787/0.3581, allocations: 1.604 MB / 1.089 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3581, allocations: 15.97 kB / 1.089 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006213/0.3643, allocations: 0.8922 MB / 1.089 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.3666, allocations: 1.118 MB / 1.091 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3668, allocations: 107.3 kB / 1.091 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000558/0.3673, allocations: 148.3 kB / 1.091 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00603/0.3734, allocations: 3.013 MB / 1.094 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.3735, allocations: 7.938 kB / 1.094 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.3737, allocations: 59.97 kB / 1.094 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/0.374, allocations: 179 kB / 1.094 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004839/0.3788, allocations: 2.608 MB / 1.096 GB, free: 14.55 MB / 0.8575 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.01838/0.3973, allocations: 13.53 MB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.3993, allocations: 1.292 MB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.4008, allocations: 1.058 MB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.571e-05/0.4009, allocations: 8.656 kB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.401, allocations: 51.2 kB / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 4.178e-06/0.401, allocations: 0 / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.07735/0.4783, allocations: 19.46 MB / 1.131 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4784, allocations: 68.72 kB / 1.131 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4797, allocations: 0.9222 MB / 1.132 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.4799, allocations: 45.7 kB / 1.132 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.4804, allocations: 0.7322 MB / 1.133 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004748/0.4809, allocations: 484.9 kB / 1.133 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.4812, allocations: 125.6 kB / 1.133 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4813, allocations: 353.9 kB / 1.134 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.4833, allocations: 1.339 MB / 1.135 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.4855, allocations: 1.659 MB / 1.137 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.4897, allocations: 3.084 MB / 1.14 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4897, allocations: 0 / 1.14 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01267/0.5024, allocations: 5.642 MB / 1.145 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.5024, allocations: 8.656 kB / 1.145 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.5025, allocations: 15.88 kB / 1.145 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009262/0.5117, allocations: 2.724 MB / 1.148 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/0.5127, allocations: 187.7 kB / 1.148 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03488/0.5476, allocations: 23.33 MB / 1.171 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.5496, allocations: 95.94 kB / 1.171 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/0.55, allocations: 56 kB / 1.171 GB, free: 152 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002025/0.552, allocations: 0.7315 MB / 1.172 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.5524, allocations: 114.6 kB / 1.172 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.5647, allocations: 5.4 MB / 1.177 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5647, allocations: 12 kB / 1.177 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-05/0.5648, allocations: 20 kB / 1.177 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.5648, allocations: 7.984 kB / 1.177 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.5819, allocations: 8.633 MB / 1.186 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.582, allocations: 4 kB / 1.186 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.5825, allocations: 111.8 kB / 1.186 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008778/0.5913, allocations: 2.55 MB / 1.188 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/0.5915, allocations: 24 kB / 1.188 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03189/0.6234, allocations: 20.86 MB / 1.209 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.6235, allocations: 4 kB / 1.209 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.6348, allocations: 5.138 MB / 1.214 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.6359, allocations: 475.5 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000358/0.6363, allocations: 32 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.6375, allocations: 75.89 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/0.6381, allocations: 121 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6382, allocations: 36 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009957/0.6392, allocations: 0.6473 MB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.403e-06/0.6392, allocations: 0 / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002655/0.6419, allocations: 0.7265 MB / 1.216 GB, free: 1.609 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003056/0.6422, allocations: 135.1 kB / 1.216 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00727/0.6495, allocations: 4.159 MB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.6495, allocations: 0 / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005502/0.655, allocations: 2.662 MB / 1.222 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.657, allocations: 215.5 kB / 1.223 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/0.6641, allocations: 4.963 MB / 1.227 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.6659, allocations: 1.731 MB / 1.229 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.6663, allocations: 63.42 kB / 1.229 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of SimCode: time 9.72e-07/0.6663, allocations: 4 kB / 1.229 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of Templates: time 0.6145/1.281, allocations: 59.51 MB / 1.287 GB, free: 162.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches