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.001743/0.001742, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001829/0.001829, allocations: 194.5 kB / 16.26 MB, free: 6.629 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.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.78/2.78, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00289/0.00289, allocations: 67.89 kB / 0.8688 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8354, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04424/0.8797, allocations: 33.04 MB / 1.049 GB, free: 1.578 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0278/0.9075, allocations: 14.66 MB / 1.063 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005714/0.9133, allocations: 143.2 kB / 1.064 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.9242, allocations: 3.408 MB / 1.067 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.9375, allocations: 2.674 MB / 1.069 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00824/0.9458, allocations: 2.127 MB / 1.072 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01591/0.9617, allocations: 8.84 MB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02377/0.9855, allocations: 11.36 MB / 1.091 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009699/0.9952, allocations: 4.007 MB / 1.095 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009859/1.005, allocations: 4.221 MB / 1.099 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00442/1.01, allocations: 0.7148 MB / 1.1 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007952/1.018, allocations: 1.72 MB / 1.102 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00692/1.025, allocations: 2.834 MB / 1.104 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.009927/1.035, allocations: 3.384 MB / 1.108 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02068/1.055, allocations: 11.2 MB / 1.119 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/1.055, allocations: 0 / 1.119 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.707e-06/1.055, allocations: 3.938 kB / 1.119 GB, free: 10 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0005012/1.056, allocations: 4 kB / 1.119 GB, free: 10 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.02186/1.078, allocations: 5.973 MB / 1.125 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/1.078, allocations: 11.98 kB / 1.125 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009317/1.087, allocations: 1.134 MB / 1.126 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/1.098, allocations: 3.328 MB / 1.129 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/1.098, allocations: 378.4 kB / 1.129 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/1.101, allocations: 500 kB / 1.13 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/1.124, allocations: 7.997 MB / 1.138 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003421/1.125, allocations: 23.78 kB / 1.138 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002007/1.127, allocations: 212 kB / 1.138 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001362/1.128, allocations: 445.5 kB / 1.138 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/1.146, allocations: 6.077 MB / 1.144 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06027/1.206, allocations: 35.16 MB / 1.178 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/1.21, allocations: 2.037 MB / 1.18 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/1.213, allocations: 1.865 MB / 1.182 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/1.213, allocations: 22 kB / 1.182 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.223e-05/1.214, allocations: 56.5 kB / 1.182 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 4.598e-06/1.214, allocations: 0 / 1.182 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1469/1.36, allocations: 38.88 MB / 1.22 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.361, allocations: 81.58 kB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/1.365, allocations: 2.282 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005424/1.366, allocations: 73.7 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.368, allocations: 2.276 MB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.369, allocations: 0.9202 MB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/1.371, allocations: 0.51 MB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.371, allocations: 317 kB / 1.227 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/1.374, allocations: 1.97 MB / 1.229 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003965/1.378, allocations: 2.599 MB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007934/1.386, allocations: 4.933 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/1.386, allocations: 4 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.017/1.403, allocations: 7.758 MB / 1.243 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/1.403, allocations: 12 kB / 1.244 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.184e-05/1.403, allocations: 24 kB / 1.244 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/1.414, allocations: 3.242 MB / 1.247 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.416, allocations: 403.3 kB / 1.247 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.718/2.134, allocations: 33.88 MB / 1.28 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/2.137, allocations: 164.3 kB / 1.28 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/2.137, allocations: 112.3 kB / 1.28 GB, free: 193.2 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.003375/2.14, allocations: 1.796 MB / 1.282 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008806/2.141, allocations: 336.9 kB / 1.283 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/2.154, allocations: 7.359 MB / 1.29 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/2.154, allocations: 24.77 kB / 1.29 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000115/2.154, allocations: 31.31 kB / 1.29 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.466e-05/2.154, allocations: 11.25 kB / 1.29 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02193/2.176, allocations: 12.92 MB / 1.302 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/2.176, allocations: 12.12 kB / 1.302 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008911/2.177, allocations: 235.1 kB / 1.303 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006981/2.184, allocations: 2.879 MB / 1.305 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/2.184, allocations: 56 kB / 1.305 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03305/2.217, allocations: 32.69 MB / 1.337 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/2.217, allocations: 8 kB / 1.337 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/2.228, allocations: 6.875 MB / 1.344 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/2.23, allocations: 0.7822 MB / 1.345 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/2.23, allocations: 59.98 kB / 1.345 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/2.232, allocations: 175.7 kB / 1.345 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008628/2.233, allocations: 249.5 kB / 1.345 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/2.233, allocations: 77.09 kB / 1.345 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001799/2.235, allocations: 1.529 MB / 1.347 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/2.235, allocations: 0 / 1.347 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004599/2.239, allocations: 1.367 MB / 1.348 GB, free: 137.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.0004169/2.24, allocations: 179.2 kB / 1.348 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01259/2.252, allocations: 8.376 MB / 1.357 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/2.252, allocations: 4 kB / 1.357 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006958/2.259, allocations: 4.414 MB / 1.361 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005199/2.265, allocations: 1.116 MB / 1.362 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/2.286, allocations: 12.48 MB / 1.374 GB, free: 110.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003698/2.29, allocations: 3.65 MB / 1.378 GB, free: 106.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002346/2.292, allocations: 0.5595 MB / 1.378 GB, free: 106.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/2.293, allocations: 159.4 kB / 1.378 GB, free: 106.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/2.293, allocations: 0 / 1.378 GB, free: 106.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.122/2.415, allocations: 78.08 MB / 1.455 GB, free: 29.15 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=400 -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