Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 107 kB / 16.35 MB, free: 5.824 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.002211/0.002211, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.412/2.412, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 65.33 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3796, allocations: 140.4 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01366/0.3933, allocations: 10.9 MB / 0.9618 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.4065, allocations: 8.803 MB / 0.9704 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.4084, allocations: 59.62 kB / 0.9704 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004747/0.4131, allocations: 1.684 MB / 0.9721 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005241/0.4184, allocations: 1.526 MB / 0.9736 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.4209, allocations: 0.6705 MB / 0.9742 GB, free: 288 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005067/0.426, allocations: 2.282 MB / 0.9764 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.4287, allocations: 1.368 MB / 0.9778 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.4319, allocations: 0.9925 MB / 0.9787 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.4346, allocations: 1.023 MB / 0.9797 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004368/0.4351, allocations: 136 kB / 0.9799 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.4377, allocations: 0.7955 MB / 0.9807 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000796/0.4385, allocations: 0.5686 MB / 0.9812 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.4399, allocations: 0.8861 MB / 0.9821 GB, free: 8.172 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.4432, allocations: 2.574 MB / 0.9846 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.4433, allocations: 0 / 0.9846 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.869e-06/0.4433, allocations: 3.984 kB / 0.9846 GB, free: 5.586 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.4433, allocations: 0 / 0.9846 GB, free: 5.586 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003739/0.4471, allocations: 2.01 MB / 0.9866 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4471, allocations: 12.03 kB / 0.9866 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.4577, allocations: 2.05 MB / 0.9886 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.4607, allocations: 1.208 MB / 0.9897 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.4608, allocations: 86.69 kB / 0.9898 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.4611, allocations: 120.1 kB / 0.9899 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005413/0.4665, allocations: 2.482 MB / 0.9924 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.4666, allocations: 11.88 kB / 0.9924 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.4668, allocations: 51.98 kB / 0.9924 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003662/0.4672, allocations: 134.1 kB / 0.9926 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006994/0.4742, allocations: 2.537 MB / 0.995 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/0.4895, allocations: 10.02 MB / 1.005 GB, free: 15.93 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005636/0.4952, allocations: 1.956 MB / 1.007 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.4977, allocations: 0.9698 MB / 1.008 GB, free: 12.97 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.4977, allocations: 12.42 kB / 1.008 GB, free: 12.96 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.4978, allocations: 39 kB / 1.008 GB, free: 12.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.945e-06/0.4978, allocations: 4 kB / 1.008 GB, free: 12.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=81): time 0.02975/0.5275, allocations: 8.714 MB / 1.016 GB, free: 4.137 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.5276, allocations: 60.06 kB / 1.016 GB, free: 4.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.5294, allocations: 1.101 MB / 1.017 GB, free: 2.949 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.5296, allocations: 41.7 kB / 1.017 GB, free: 2.902 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/0.5302, allocations: 0.7379 MB / 1.018 GB, free: 2.156 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.5305, allocations: 279.9 kB / 1.018 GB, free: 1.879 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/0.531, allocations: 198.5 kB / 1.019 GB, free: 1.676 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5312, allocations: 341.9 kB / 1.019 GB, free: 1.336 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/0.5339, allocations: 1.075 MB / 1.02 GB, free: 268 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.5368, allocations: 1.305 MB / 1.021 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005612/0.5424, allocations: 2.386 MB / 1.024 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.5424, allocations: 8 kB / 1.024 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008763/0.5512, allocations: 3.273 MB / 1.027 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.5513, allocations: 8 kB / 1.027 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.5513, allocations: 12.06 kB / 1.027 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/0.5542, allocations: 0.7833 MB / 1.028 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.5561, allocations: 415.2 kB / 1.028 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/0.5738, allocations: 15.92 MB / 1.044 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.5762, allocations: 287.5 kB / 1.044 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/0.5765, allocations: 51.97 kB / 1.044 GB, free: 6.445 MB / 0.8262 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.0009805/0.5775, allocations: 397.5 kB / 1.044 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.578, allocations: 150.2 kB / 1.044 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008444/0.5864, allocations: 3.206 MB / 1.047 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.5865, allocations: 15.92 kB / 1.047 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.932e-05/0.5865, allocations: 12 kB / 1.048 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5865, allocations: 3.984 kB / 1.048 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.5996, allocations: 4.901 MB / 1.052 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/0.5997, allocations: 7.938 kB / 1.052 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/0.6013, allocations: 351.4 kB / 1.053 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/0.604, allocations: 0.6937 MB / 1.053 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.6041, allocations: 27.97 kB / 1.053 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.6233, allocations: 15.53 MB / 1.069 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.6233, allocations: 7.969 kB / 1.069 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0081/0.6314, allocations: 3.039 MB / 1.071 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.6325, allocations: 383.2 kB / 1.072 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004108/0.633, allocations: 12 kB / 1.072 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/0.635, allocations: 295.4 kB / 1.072 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.6353, allocations: 84.48 kB / 1.072 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.6354, allocations: 40.11 kB / 1.072 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001278/0.6367, allocations: 0.7366 MB / 1.073 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6367, allocations: 0 / 1.073 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001888/0.6386, allocations: 432 kB / 1.073 GB, free: 6.734 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,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.0003182/0.6389, allocations: 131.1 kB / 1.074 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008251/0.6472, allocations: 3.637 MB / 1.077 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.6473, allocations: 0 / 1.077 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004914/0.6522, allocations: 2.371 MB / 1.079 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6097/1.262, allocations: 0.5181 MB / 1.08 GB, free: 123.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.272, allocations: 3.428 MB / 1.083 GB, free: 123 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/1.274, allocations: 1.389 MB / 1.085 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001936/1.276, allocations: 379.1 kB / 1.085 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/1.276, allocations: 103.3 kB / 1.085 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of SimCode: time 1.734e-06/1.276, allocations: 3.219 kB / 1.085 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of Templates: time 0.08292/1.359, allocations: 30.24 MB / 1.115 GB, free: 115.2 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches