Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001218, allocations: 104.1 kB / 15.99 MB, free: 6.359 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.001301/0.001301, allocations: 195.2 kB / 16.91 MB, free: 6.195 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.56 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2426, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01742/0.2601, allocations: 13.97 MB / 0.9634 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.2742, allocations: 9.303 MB / 0.9725 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.2758, allocations: 55.62 kB / 0.9726 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.2803, allocations: 1.568 MB / 0.9741 GB, free: 244 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00511/0.2854, allocations: 1.404 MB / 0.9755 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.2877, allocations: 0.6902 MB / 0.9761 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003671/0.2914, allocations: 2.523 MB / 0.9786 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.2938, allocations: 1.579 MB / 0.9801 GB, free: 10 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.2957, allocations: 1.07 MB / 0.9812 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.2977, allocations: 1.175 MB / 0.9823 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004772/0.2982, allocations: 164 kB / 0.9825 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.3, allocations: 0.7877 MB / 0.9833 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008037/0.3008, allocations: 0.6193 MB / 0.9839 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.3023, allocations: 0.9368 MB / 0.9848 GB, free: 5.238 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.3052, allocations: 2.202 MB / 0.9869 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3052, allocations: 0 / 0.9869 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3052, allocations: 0 / 0.9869 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.472e-05/0.3053, allocations: 0 / 0.9869 GB, free: 3.031 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004825/0.3101, allocations: 2.148 MB / 0.989 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3102, allocations: 16.03 kB / 0.989 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.3214, allocations: 2.085 MB / 0.9911 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.3241, allocations: 1.201 MB / 0.9923 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.08e-05/0.3242, allocations: 86.73 kB / 0.9923 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003867/0.3246, allocations: 120.1 kB / 0.9925 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006298/0.3309, allocations: 2.678 MB / 0.9951 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/0.3309, allocations: 19.83 kB / 0.9951 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.3312, allocations: 51.98 kB / 0.9951 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006109/0.3318, allocations: 178.1 kB / 0.9953 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007585/0.3394, allocations: 2.803 MB / 0.998 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/0.3556, allocations: 10.51 MB / 1.008 GB, free: 12.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00686/0.3625, allocations: 2.527 MB / 1.011 GB, free: 9.688 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/0.3657, allocations: 1.276 MB / 1.012 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/0.3658, allocations: 13 kB / 1.012 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3659, allocations: 43.55 kB / 1.012 GB, free: 8.344 MB / 0.795 GB Notification: Performance of pre-optimization done (n=89): time 3.016e-06/0.3659, allocations: 0 / 1.012 GB, free: 8.344 MB / 0.795 GB Notification: Performance of matching and sorting (n=131): time 0.04567/0.4116, allocations: 13.35 MB / 1.025 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.4117, allocations: 68.7 kB / 1.025 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.4135, allocations: 1.117 MB / 1.026 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.4138, allocations: 45.7 kB / 1.026 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005579/0.4144, allocations: 0.7194 MB / 1.027 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005655/0.4149, allocations: 457.4 kB / 1.027 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006441/0.4156, allocations: 255.5 kB / 1.028 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4158, allocations: 361.9 kB / 1.028 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/0.4191, allocations: 1.343 MB / 1.029 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/0.4227, allocations: 1.608 MB / 1.031 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006676/0.4294, allocations: 2.991 MB / 1.034 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.4294, allocations: 0 / 1.034 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01212/0.4415, allocations: 4.45 MB / 1.038 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.4416, allocations: 8 kB / 1.038 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.4416, allocations: 8 kB / 1.038 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005429/0.4471, allocations: 1.439 MB / 1.04 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/0.4491, allocations: 439.2 kB / 1.04 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02884/0.478, allocations: 26.69 MB / 1.066 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.4809, allocations: 303.5 kB / 1.066 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/0.4813, allocations: 63.91 kB / 1.066 GB, free: 14.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001121/0.4824, allocations: 439.9 kB / 1.067 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/0.483, allocations: 162.1 kB / 1.067 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.4953, allocations: 4.457 MB / 1.071 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.4954, allocations: 16 kB / 1.071 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-05/0.4955, allocations: 16 kB / 1.071 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.4955, allocations: 7.969 kB / 1.071 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.5114, allocations: 6.778 MB / 1.078 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.5115, allocations: 7.984 kB / 1.078 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.5133, allocations: 371.7 kB / 1.078 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00487/0.5182, allocations: 1.326 MB / 1.08 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/0.5185, allocations: 43.95 kB / 1.08 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4748/0.9933, allocations: 25.5 MB / 1.105 GB, free: 105.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.9933, allocations: 7.062 kB / 1.105 GB, free: 105.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.005, allocations: 4.198 MB / 1.109 GB, free: 103.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.006, allocations: 457.9 kB / 1.109 GB, free: 103.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/1.006, allocations: 25.62 kB / 1.109 GB, free: 103.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.009, allocations: 312.2 kB / 1.109 GB, free: 103.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005397/1.009, allocations: 123.6 kB / 1.11 GB, free: 103.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.009, allocations: 53.5 kB / 1.11 GB, free: 103.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001063/1.01, allocations: 0.7533 MB / 1.11 GB, free: 103.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.01, allocations: 0 / 1.11 GB, free: 103.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002501/1.013, allocations: 0.5673 MB / 1.111 GB, free: 103.3 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003021/1.013, allocations: 149.6 kB / 1.111 GB, free: 103.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.025, allocations: 5.505 MB / 1.116 GB, free: 100.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.025, allocations: 1.156 kB / 1.116 GB, free: 100.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.006985/1.032, allocations: 3.492 MB / 1.12 GB, free: 98.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/1.035, allocations: 0.5499 MB / 1.12 GB, free: 98.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008942/1.044, allocations: 4.769 MB / 1.125 GB, free: 96.13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.046, allocations: 1.473 MB / 1.127 GB, free: 95.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008054/1.046, allocations: 134.9 kB / 1.127 GB, free: 95.31 MB / 0.8575 GB Notification: Performance of SimCode: time 1.052e-06/1.046, allocations: 0 / 1.127 GB, free: 95.31 MB / 0.8575 GB Notification: Performance of Templates: time 0.08589/1.132, allocations: 112.5 MB / 1.236 GB, free: 14.89 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches