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.001386/0.001386, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001504/0.001503, allocations: 191 kB / 17.29 MB, free: 5.516 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 442.5 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.72 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3477, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01295/0.3607, allocations: 10.03 MB / 1.037 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006031/0.3668, allocations: 3.052 MB / 1.039 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007583/0.3676, allocations: 31.88 kB / 1.04 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.3695, allocations: 0.6956 MB / 1.04 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.371, allocations: 0.6843 MB / 1.041 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3723, allocations: 0.6394 MB / 1.042 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002702/0.375, allocations: 2.734 MB / 1.044 GB, free: 144 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.3777, allocations: 2.519 MB / 1.047 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.3792, allocations: 1.137 MB / 1.048 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.381, allocations: 1.379 MB / 1.049 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.3813, allocations: 216 kB / 1.049 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009402/0.3823, allocations: 495.3 kB / 1.05 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009465/0.3832, allocations: 0.9746 MB / 1.051 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.3843, allocations: 1.011 MB / 1.052 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.3875, allocations: 3.408 MB / 1.055 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3875, allocations: 0 / 1.055 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3875, allocations: 0 / 1.055 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.719e-05/0.3876, allocations: 0 / 1.055 GB, free: 4.949 MB / 0.8262 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.003754/0.3914, allocations: 1.947 MB / 1.057 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3914, allocations: 12.03 kB / 1.057 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005385/0.3968, allocations: 0.8921 MB / 1.058 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.3994, allocations: 1.161 MB / 1.059 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.3995, allocations: 107.3 kB / 1.059 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.3998, allocations: 148.3 kB / 1.059 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004755/0.4046, allocations: 3.021 MB / 1.062 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.4047, allocations: 7.938 kB / 1.062 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.4048, allocations: 63.91 kB / 1.062 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/0.4051, allocations: 175 kB / 1.062 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.4091, allocations: 2.608 MB / 1.065 GB, free: 10.61 MB / 0.8419 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.5141/0.9232, allocations: 13.48 MB / 1.078 GB, free: 47.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.9252, allocations: 1.286 MB / 1.079 GB, free: 47.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.9266, allocations: 1.046 MB / 1.08 GB, free: 47.81 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.481e-05/0.9267, allocations: 13.91 kB / 1.08 GB, free: 47.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.9267, allocations: 46.31 kB / 1.08 GB, free: 47.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.9267, allocations: 3.406 kB / 1.08 GB, free: 47.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139): time 0.07082/0.9975, allocations: 19.38 MB / 1.099 GB, free: 44.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.9976, allocations: 66.19 kB / 1.099 GB, free: 44.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.9989, allocations: 0.9125 MB / 1.1 GB, free: 43.67 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.9991, allocations: 46.14 kB / 1.1 GB, free: 43.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.9994, allocations: 0.7294 MB / 1.101 GB, free: 43.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.9998, allocations: 487.1 kB / 1.102 GB, free: 42.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005539/1, allocations: 290.2 kB / 1.102 GB, free: 42.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/1, allocations: 357.7 kB / 1.102 GB, free: 42.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/1.002, allocations: 1.336 MB / 1.103 GB, free: 41.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/1.004, allocations: 1.66 MB / 1.105 GB, free: 40.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/1.008, allocations: 3.091 MB / 1.108 GB, free: 39.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.008, allocations: 6.906 kB / 1.108 GB, free: 39.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01175/1.02, allocations: 5.641 MB / 1.114 GB, free: 37.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/1.02, allocations: 11.45 kB / 1.114 GB, free: 37.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/1.02, allocations: 8.5 kB / 1.114 GB, free: 37.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008225/1.028, allocations: 2.717 MB / 1.116 GB, free: 36.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/1.029, allocations: 194.9 kB / 1.116 GB, free: 36.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03188/1.061, allocations: 25.7 MB / 1.142 GB, free: 18.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.063, allocations: 96.64 kB / 1.142 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.063, allocations: 59.98 kB / 1.142 GB, free: 18.74 MB / 0.8419 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.001113/1.064, allocations: 0.747 MB / 1.142 GB, free: 17.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/1.064, allocations: 110.7 kB / 1.143 GB, free: 17.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009237/1.074, allocations: 5.384 MB / 1.148 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.074, allocations: 23.98 kB / 1.148 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.074, allocations: 19.94 kB / 1.148 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.074, allocations: 7.984 kB / 1.148 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/1.087, allocations: 8.639 MB / 1.156 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.087, allocations: 4 kB / 1.156 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/1.087, allocations: 123.8 kB / 1.156 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007339/1.095, allocations: 2.534 MB / 1.159 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/1.095, allocations: 31.98 kB / 1.159 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03263/1.128, allocations: 23 MB / 1.181 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.128, allocations: 4 kB / 1.181 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.138, allocations: 5.132 MB / 1.186 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.14, allocations: 475.5 kB / 1.187 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/1.14, allocations: 32 kB / 1.187 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008745/1.141, allocations: 75.89 kB / 1.187 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006228/1.142, allocations: 121 kB / 1.187 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.142, allocations: 32 kB / 1.187 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008961/1.143, allocations: 0.6473 MB / 1.188 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.143, allocations: 4 kB / 1.188 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002522/1.145, allocations: 0.7227 MB / 1.188 GB, free: 2.133 MB / 0.8731 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.0003176/1.146, allocations: 136.2 kB / 1.189 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007104/1.153, allocations: 4.179 MB / 1.193 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.153, allocations: 4 kB / 1.193 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004936/1.158, allocations: 2.646 MB / 1.195 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.159, allocations: 224.7 kB / 1.195 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/1.165, allocations: 3.904 MB / 1.199 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/1.167, allocations: 1.696 MB / 1.201 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007718/1.168, allocations: 324.8 kB / 1.201 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/1.168, allocations: 63.42 kB / 1.201 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of SimCode: time 1.102e-06/1.168, allocations: 0 / 1.201 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of Templates: time 0.05829/1.226, allocations: 38.97 MB / 1.239 GB, free: 14.02 MB / 0.9356 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 -s cvode -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