Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005872/0.005872, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001435/0.001435, allocations: 196 kB / 16.79 MB, free: 5.809 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.7271, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02979/0.757, allocations: 30.48 MB / 0.9794 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02088/0.7779, allocations: 13.57 MB / 0.9926 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/0.7821, allocations: 131.2 kB / 0.9927 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008169/0.7904, allocations: 2.966 MB / 0.9956 GB, free: 2.879 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008314/0.7987, allocations: 2.473 MB / 0.998 GB, free: 404 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.804, allocations: 1.853 MB / 0.9999 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.8158, allocations: 10.44 MB / 1.01 GB, free: 4.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01382/0.8296, allocations: 9.035 MB / 1.019 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005676/0.8353, allocations: 2.974 MB / 1.022 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005751/0.8411, allocations: 3.43 MB / 1.025 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001728/0.8429, allocations: 400 kB / 1.026 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.847, allocations: 1.533 MB / 1.027 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003487/0.8505, allocations: 2.163 MB / 1.029 GB, free: 416 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005677/0.8562, allocations: 2.652 MB / 1.032 GB, free: 13.74 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009078/0.8653, allocations: 7.939 MB / 1.039 GB, free: 5.785 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.8653, allocations: 0 / 1.039 GB, free: 5.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.857e-06/0.8653, allocations: 3.984 kB / 1.039 GB, free: 5.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003392/0.8657, allocations: 0 / 1.039 GB, free: 5.781 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01384/0.8795, allocations: 5.145 MB / 1.044 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.8796, allocations: 8.031 kB / 1.044 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006543/0.8862, allocations: 0.998 MB / 1.045 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006262/0.8924, allocations: 2.896 MB / 1.048 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.8928, allocations: 312.9 kB / 1.049 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.8941, allocations: 420 kB / 1.049 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.9058, allocations: 6.795 MB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.906, allocations: 15.84 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004598/0.9065, allocations: 184 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008445/0.9073, allocations: 380 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.9174, allocations: 5.114 MB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03745/0.9548, allocations: 30.72 MB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.9569, allocations: 1.392 MB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.9587, allocations: 1.328 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.9588, allocations: 13.31 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.9589, allocations: 47.88 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.697e-06/0.9589, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.08601/1.045, allocations: 23.08 MB / 1.116 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/1.045, allocations: 69.41 kB / 1.117 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/1.048, allocations: 2.062 MB / 1.119 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/1.048, allocations: 57.7 kB / 1.119 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/1.05, allocations: 2.018 MB / 1.121 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006755/1.05, allocations: 0.67 MB / 1.121 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000751/1.051, allocations: 412.1 kB / 1.122 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.051, allocations: 305.1 kB / 1.122 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/1.053, allocations: 1.43 MB / 1.123 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/1.056, allocations: 2.017 MB / 1.125 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004722/1.06, allocations: 3.696 MB / 1.129 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.061, allocations: 4 kB / 1.129 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01132/1.072, allocations: 5.653 MB / 1.134 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/1.072, allocations: 17.09 kB / 1.134 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.072, allocations: 19.94 kB / 1.134 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/1.079, allocations: 2.088 MB / 1.136 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.081, allocations: 383.3 kB / 1.137 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03726/1.118, allocations: 35.5 MB / 1.171 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.12, allocations: 127.9 kB / 1.172 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/1.121, allocations: 95.98 kB / 1.172 GB, free: 7.859 MB / 0.9356 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00244/1.123, allocations: 1.508 MB / 1.173 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/1.124, allocations: 280.7 kB / 1.173 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/1.134, allocations: 5.215 MB / 1.179 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/1.134, allocations: 20 kB / 1.179 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.273e-05/1.134, allocations: 20 kB / 1.179 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/1.134, allocations: 11.91 kB / 1.179 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.151, allocations: 9.669 MB / 1.188 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.151, allocations: 12.78 kB / 1.188 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008876/1.152, allocations: 215.6 kB / 1.188 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00625/1.159, allocations: 1.846 MB / 1.19 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/1.159, allocations: 40 kB / 1.19 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03617/1.195, allocations: 34.5 MB / 1.224 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.195, allocations: 16 kB / 1.224 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.206, allocations: 4.912 MB / 1.229 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.207, allocations: 0.6109 MB / 1.229 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007838/1.208, allocations: 39.98 kB / 1.229 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.21, allocations: 135.8 kB / 1.229 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007247/1.211, allocations: 189.6 kB / 1.23 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.211, allocations: 59.94 kB / 1.23 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0027/1.214, allocations: 1.382 MB / 1.231 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.214, allocations: 0 / 1.231 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004197/1.218, allocations: 1.047 MB / 1.232 GB, free: 7.203 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004146/1.218, allocations: 178.9 kB / 1.232 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.229, allocations: 6.26 MB / 1.238 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.229, allocations: 4 kB / 1.238 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007183/1.236, allocations: 4.399 MB / 1.243 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005583/1.242, allocations: 0.9142 MB / 1.243 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.26, allocations: 10.62 MB / 1.254 GB, free: 276 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4571/1.717, allocations: 3.176 MB / 1.257 GB, free: 270 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008207/1.718, allocations: 161.4 kB / 1.257 GB, free: 270 MB / 1.014 GB Notification: Performance of SimCode: time 1.633e-06/1.718, allocations: 4.844 kB / 1.257 GB, free: 270 MB / 1.014 GB Notification: Performance of Templates: time 0.845/2.563, allocations: 464.6 MB / 1.711 GB, free: 401.9 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches