Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009272, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.006214/0.006214, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.816/2.816, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 12 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7403, allocations: 153.8 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0363/0.7767, allocations: 32.21 MB / 1.054 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02593/0.8026, allocations: 14.63 MB / 1.069 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004784/0.8075, allocations: 135.2 kB / 1.069 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.8111, allocations: 0.7249 MB / 1.07 GB, free: 120 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009577/0.8207, allocations: 2.686 MB / 1.072 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006405/0.8272, allocations: 1.989 MB / 1.074 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01503/0.8422, allocations: 12.21 MB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02341/0.8657, allocations: 11.52 MB / 1.097 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006662/0.8724, allocations: 2.961 MB / 1.1 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006497/0.8789, allocations: 3.503 MB / 1.104 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001702/0.8806, allocations: 296 kB / 1.104 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004513/0.8852, allocations: 1.564 MB / 1.105 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004132/0.8893, allocations: 2.291 MB / 1.108 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006447/0.8958, allocations: 2.788 MB / 1.11 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.9098, allocations: 10.64 MB / 1.121 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9098, allocations: 0 / 1.121 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9098, allocations: 0 / 1.121 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004004/0.9102, allocations: 0 / 1.121 GB, free: 11.44 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01246/0.9227, allocations: 4.837 MB / 1.126 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.9228, allocations: 11.98 kB / 1.126 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007729/0.9305, allocations: 1.149 MB / 1.127 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008196/0.9388, allocations: 3.325 MB / 1.13 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.9392, allocations: 374.4 kB / 1.13 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002002/0.9412, allocations: 0.4922 MB / 1.131 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.9615, allocations: 8.013 MB / 1.139 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/0.9618, allocations: 19.78 kB / 1.139 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000707/0.9625, allocations: 220 kB / 1.139 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001156/0.9637, allocations: 437.5 kB / 1.139 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.9771, allocations: 6.077 MB / 1.145 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04639/1.024, allocations: 35.23 MB / 1.18 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/1.027, allocations: 2.038 MB / 1.182 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/1.029, allocations: 1.846 MB / 1.183 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.807e-05/1.029, allocations: 18 kB / 1.183 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/1.029, allocations: 60.5 kB / 1.183 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 4.127e-06/1.029, allocations: 0 / 1.183 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1518/1.181, allocations: 39.02 MB / 1.222 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.181, allocations: 85.52 kB / 1.222 GB, free: 460 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/1.185, allocations: 2.278 MB / 1.224 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000443/1.185, allocations: 69.7 kB / 1.224 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.187, allocations: 2.272 MB / 1.226 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.188, allocations: 0.9434 MB / 1.227 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/1.188, allocations: 231.8 kB / 1.227 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.188, allocations: 309.1 kB / 1.228 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/1.191, allocations: 1.977 MB / 1.23 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/1.195, allocations: 2.599 MB / 1.232 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00731/1.202, allocations: 4.929 MB / 1.237 GB, free: 268 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/1.202, allocations: 4 kB / 1.237 GB, free: 264 kB / 0.9825 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01523/1.217, allocations: 7.758 MB / 1.244 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/1.217, allocations: 12 kB / 1.244 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/1.217, allocations: 16 kB / 1.244 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009693/1.227, allocations: 3.21 MB / 1.248 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.229, allocations: 403.3 kB / 1.248 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7512/1.98, allocations: 31.17 MB / 1.278 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/1.983, allocations: 163.3 kB / 1.279 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/1.984, allocations: 111.7 kB / 1.279 GB, free: 194.1 MB / 0.9981 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004244/1.988, allocations: 1.8 MB / 1.28 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008762/1.989, allocations: 326.9 kB / 1.281 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/2.002, allocations: 7.356 MB / 1.288 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/2.002, allocations: 27.53 kB / 1.288 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-05/2.002, allocations: 31.38 kB / 1.288 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/2.002, allocations: 14.53 kB / 1.288 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/2.023, allocations: 12.94 MB / 1.301 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/2.023, allocations: 9.219 kB / 1.301 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000912/2.024, allocations: 231.5 kB / 1.301 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007793/2.032, allocations: 2.844 MB / 1.304 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003814/2.033, allocations: 56.28 kB / 1.304 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0326/2.065, allocations: 29.98 MB / 1.333 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/2.065, allocations: 8.375 kB / 1.333 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/2.076, allocations: 6.89 MB / 1.34 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/2.078, allocations: 0.782 MB / 1.34 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/2.078, allocations: 52 kB / 1.341 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/2.08, allocations: 179.8 kB / 1.341 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.081, allocations: 253.4 kB / 1.341 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/2.082, allocations: 79.38 kB / 1.341 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002349/2.084, allocations: 1.525 MB / 1.343 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/2.084, allocations: 0 / 1.343 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005193/2.089, allocations: 1.367 MB / 1.344 GB, free: 143.3 MB / 0.9981 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005167/2.09, allocations: 178.9 kB / 1.344 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009948/2.1, allocations: 6.896 MB / 1.351 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.1, allocations: 0 / 1.351 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006262/2.106, allocations: 4.425 MB / 1.355 GB, free: 131.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006517/2.113, allocations: 1.032 MB / 1.356 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/2.128, allocations: 12.49 MB / 1.368 GB, free: 118.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003478/2.131, allocations: 3.639 MB / 1.372 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002596/2.134, allocations: 0.5595 MB / 1.372 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/2.134, allocations: 159.4 kB / 1.373 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.904e-06/2.134, allocations: 0 / 1.373 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.1011/2.235, allocations: 73.43 MB / 1.444 GB, free: 41.27 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches