Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005822/0.005822, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001186/0.001186, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.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.699/2.699, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4626, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.05323/0.5159, allocations: 37.26 MB / 1.203 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.5406, allocations: 13.71 MB / 1.216 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004149/0.5448, allocations: 115.6 kB / 1.216 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006328/0.5512, allocations: 2.27 MB / 1.219 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.5555, allocations: 1.459 MB / 1.22 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009766/0.5653, allocations: 3.521 MB / 1.224 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.5764, allocations: 6.41 MB / 1.23 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.5895, allocations: 9.882 MB / 1.239 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.5947, allocations: 2.766 MB / 1.242 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006626/0.6013, allocations: 3.202 MB / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00225/0.6036, allocations: 0.6211 MB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003657/0.6073, allocations: 1.256 MB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00335/0.6107, allocations: 2.476 MB / 1.25 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.707/1.318, allocations: 2.55 MB / 1.252 GB, free: 28.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01516/1.333, allocations: 9.185 MB / 1.261 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.333, allocations: 0.9375 kB / 1.261 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.333, allocations: 0 / 1.261 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003492/1.333, allocations: 0 / 1.261 GB, free: 27.93 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.02806/1.361, allocations: 4.409 MB / 1.265 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.362, allocations: 13.47 kB / 1.265 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008546/1.37, allocations: 1.05 MB / 1.266 GB, free: 26.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008874/1.379, allocations: 2.231 MB / 1.269 GB, free: 25.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006472/1.38, allocations: 326.5 kB / 1.269 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003385/1.383, allocations: 430.2 kB / 1.269 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/1.416, allocations: 7.404 MB / 1.277 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004585/1.416, allocations: 19.45 kB / 1.277 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003648/1.42, allocations: 180 kB / 1.277 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006238/1.421, allocations: 289.3 kB / 1.277 GB, free: 24.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/1.443, allocations: 6.022 MB / 1.283 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05034/1.493, allocations: 32.51 MB / 1.315 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/1.497, allocations: 2.132 MB / 1.317 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/1.5, allocations: 1.263 MB / 1.318 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/1.5, allocations: 106.8 kB / 1.318 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/1.5, allocations: 47.34 kB / 1.318 GB, free: 15.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=98): time 4.729e-06/1.5, allocations: 0 / 1.318 GB, free: 15.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=101): time 0.01513/1.515, allocations: 5.433 MB / 1.323 GB, free: 12.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/1.515, allocations: 143.8 kB / 1.324 GB, free: 12.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/1.519, allocations: 1.484 MB / 1.325 GB, free: 11.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.519, allocations: 43.64 kB / 1.325 GB, free: 11.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.521, allocations: 1.929 MB / 1.327 GB, free: 10.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/1.521, allocations: 388 kB / 1.327 GB, free: 9.773 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/1.522, allocations: 461.8 kB / 1.328 GB, free: 9.516 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/1.523, allocations: 306.6 kB / 1.328 GB, free: 9.215 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/1.525, allocations: 1.148 MB / 1.329 GB, free: 8.613 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/1.527, allocations: 2.211 MB / 1.331 GB, free: 6.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004548/1.532, allocations: 3.44 MB / 1.335 GB, free: 4.039 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-05/1.532, allocations: 10.53 kB / 1.335 GB, free: 4.039 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005885/1.538, allocations: 3.373 MB / 1.338 GB, free: 2.508 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/1.538, allocations: 20.44 kB / 1.338 GB, free: 2.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-05/1.538, allocations: 33.69 kB / 1.338 GB, free: 2.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.861e-05/1.538, allocations: 52.31 kB / 1.338 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/1.54, allocations: 0.631 MB / 1.339 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-05/1.541, allocations: 72.53 kB / 1.339 GB, free: 2.344 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.543, allocations: 336.5 kB / 1.339 GB, free: 2.168 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/1.543, allocations: 117.5 kB / 1.339 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004549/1.548, allocations: 2.428 MB / 1.342 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002702/1.551, allocations: 2.044 MB / 1.344 GB, free: 14.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003962/1.555, allocations: 3.062 MB / 1.347 GB, free: 12.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.977e-05/1.555, allocations: 8.375 kB / 1.347 GB, free: 12.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005668/1.56, allocations: 2.987 MB / 1.349 GB, free: 11.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.56, allocations: 18.38 kB / 1.349 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.527e-05/1.56, allocations: 35.47 kB / 1.349 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.556e-05/1.561, allocations: 50.56 kB / 1.35 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/1.562, allocations: 0.5674 MB / 1.35 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.957e-05/1.563, allocations: 74.19 kB / 1.35 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/1.565, allocations: 263.5 kB / 1.35 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/1.565, allocations: 117.5 kB / 1.351 GB, free: 10.84 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007082/1.566, allocations: 332.1 kB / 1.351 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000594/1.567, allocations: 164.2 kB / 1.351 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/1.57, allocations: 2.253 MB / 1.353 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.57, allocations: 11.25 kB / 1.353 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.57, allocations: 7.688 kB / 1.353 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.57, allocations: 3.984 kB / 1.353 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/1.593, allocations: 11 MB / 1.364 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-05/1.593, allocations: 12 kB / 1.364 GB, free: 2.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.595, allocations: 387.8 kB / 1.364 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-05/1.595, allocations: 16 kB / 1.364 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/1.595, allocations: 31.98 kB / 1.364 GB, free: 1.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/1.595, allocations: 22.66 kB / 1.364 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/1.595, allocations: 19 kB / 1.364 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/1.599, allocations: 2.779 MB / 1.367 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.6, allocations: 459.7 kB / 1.368 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/1.601, allocations: 35.98 kB / 1.368 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.603, allocations: 179.7 kB / 1.368 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/1.603, allocations: 92.98 kB / 1.368 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.603, allocations: 39.98 kB / 1.368 GB, free: 13.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002611/1.606, allocations: 1.005 MB / 1.369 GB, free: 12.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.606, allocations: 4 kB / 1.369 GB, free: 12.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006917/1.613, allocations: 1.133 MB / 1.37 GB, free: 11.84 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003757/1.613, allocations: 151.3 kB / 1.37 GB, free: 11.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007187/1.62, allocations: 4.071 MB / 1.374 GB, free: 7.867 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/1.621, allocations: 0 / 1.374 GB, free: 7.867 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/1.622, allocations: 1.055 MB / 1.375 GB, free: 6.855 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.625, allocations: 460.5 kB / 1.376 GB, free: 6.445 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.642, allocations: 7.087 MB / 1.383 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004653/1.646, allocations: 2.87 MB / 1.385 GB, free: 12.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003753/1.65, allocations: 1.219 MB / 1.387 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/1.651, allocations: 130 kB / 1.387 GB, free: 10.98 MB / 1.061 GB Notification: Performance of SimCode: time 1.482e-06/1.651, allocations: 4 kB / 1.387 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Templates: time 0.05182/1.703, allocations: 26.01 MB / 1.412 GB, free: 1.273 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches