Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001157/0.001157, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001168/0.001168, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 64.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7897, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01085/0.8006, allocations: 10.02 MB / 1.177 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004624/0.8053, allocations: 3.041 MB / 1.18 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.8057, allocations: 35.81 kB / 1.18 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.8074, allocations: 0.6893 MB / 1.181 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.8086, allocations: 0.7196 MB / 1.181 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.8097, allocations: 0.649 MB / 1.182 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002342/0.8121, allocations: 2.738 MB / 1.185 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.8146, allocations: 2.53 MB / 1.187 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.8159, allocations: 1.137 MB / 1.188 GB, free: 14.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.8176, allocations: 1.379 MB / 1.19 GB, free: 12.78 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.8179, allocations: 216 kB / 1.19 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009387/0.8188, allocations: 495.4 kB / 1.19 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009434/0.8198, allocations: 0.9785 MB / 1.191 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.8209, allocations: 1.015 MB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.8238, allocations: 3.41 MB / 1.196 GB, free: 6.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8239, allocations: 4 kB / 1.196 GB, free: 6.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8239, allocations: 3.938 kB / 1.196 GB, free: 6.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.617e-05/0.8239, allocations: 0 / 1.196 GB, free: 6.66 MB / 0.92 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.003419/0.8273, allocations: 1.94 MB / 1.198 GB, free: 4.664 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.8274, allocations: 12.92 kB / 1.198 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/0.8327, allocations: 0.8883 MB / 1.198 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.8351, allocations: 1.157 MB / 1.2 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.693e-05/0.8352, allocations: 111.3 kB / 1.2 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.8354, allocations: 144.3 kB / 1.2 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/0.8396, allocations: 3.017 MB / 1.203 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.8396, allocations: 11.89 kB / 1.203 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.8398, allocations: 63.91 kB / 1.203 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001952/0.84, allocations: 175 kB / 1.203 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/0.8438, allocations: 2.608 MB / 1.206 GB, free: 12.34 MB / 0.9356 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.01474/0.8585, allocations: 13.5 MB / 1.219 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.8604, allocations: 1.291 MB / 1.22 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.8617, allocations: 1.05 MB / 1.221 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/0.8617, allocations: 12.59 kB / 1.221 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.8618, allocations: 43.22 kB / 1.221 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.484e-06/0.8618, allocations: 0 / 1.221 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.06706/0.9289, allocations: 19.39 MB / 1.24 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.9289, allocations: 64.72 kB / 1.24 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.9301, allocations: 0.926 MB / 1.241 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.9302, allocations: 45.7 kB / 1.241 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.9307, allocations: 0.7322 MB / 1.242 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/0.9312, allocations: 489 kB / 1.242 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005228/0.9317, allocations: 291.4 kB / 1.242 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.9318, allocations: 357.9 kB / 1.243 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.9336, allocations: 1.335 MB / 1.244 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.9356, allocations: 1.659 MB / 1.246 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/0.9394, allocations: 3.083 MB / 1.249 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.9394, allocations: 0 / 1.249 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01122/0.9506, allocations: 5.643 MB / 1.254 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.9507, allocations: 12.03 kB / 1.254 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.9507, allocations: 11.94 kB / 1.254 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008871/0.9596, allocations: 2.721 MB / 1.257 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.9604, allocations: 191.6 kB / 1.257 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03643/0.9969, allocations: 25.71 MB / 1.282 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.9984, allocations: 95.94 kB / 1.282 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.9987, allocations: 56.12 kB / 1.282 GB, free: 11.5 MB / 1.014 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.001311/1, allocations: 0.7404 MB / 1.283 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/1, allocations: 122.6 kB / 1.283 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.012, allocations: 5.392 MB / 1.288 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.012, allocations: 20 kB / 1.288 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.603e-05/1.012, allocations: 20 kB / 1.289 GB, free: 5.168 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/1.012, allocations: 15.84 kB / 1.289 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.03, allocations: 8.685 MB / 1.297 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/1.03, allocations: 4 kB / 1.297 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/1.031, allocations: 123.8 kB / 1.297 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008512/1.039, allocations: 2.589 MB / 1.3 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/1.04, allocations: 28 kB / 1.3 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.034/1.074, allocations: 24.14 MB / 1.323 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.074, allocations: 4 kB / 1.323 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.085, allocations: 5.252 MB / 1.328 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.086, allocations: 483.6 kB / 1.329 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/1.086, allocations: 35.91 kB / 1.329 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.087, allocations: 79.89 kB / 1.329 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005202/1.088, allocations: 117 kB / 1.329 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.088, allocations: 36 kB / 1.329 GB, free: 10.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009206/1.089, allocations: 0.6474 MB / 1.33 GB, free: 10.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 0 / 1.33 GB, free: 10.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002612/1.092, allocations: 0.7265 MB / 1.33 GB, free: 9.414 MB / 1.061 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.0002873/1.092, allocations: 131.1 kB / 1.331 GB, free: 9.277 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006949/1.099, allocations: 4.232 MB / 1.335 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.099, allocations: 4 kB / 1.335 GB, free: 4.988 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005131/1.104, allocations: 2.705 MB / 1.337 GB, free: 2.234 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.106, allocations: 227.2 kB / 1.338 GB, free: 2.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007251/1.113, allocations: 4.242 MB / 1.342 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/1.115, allocations: 1.731 MB / 1.343 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/1.115, allocations: 63.42 kB / 1.343 GB, free: 11.88 MB / 1.076 GB Notification: Performance of SimCode: time 2.264e-06/1.115, allocations: 0 / 1.343 GB, free: 11.88 MB / 1.076 GB Notification: Performance of Templates: time 0.06826/1.183, allocations: 60.01 MB / 1.402 GB, free: 15.86 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches