Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001973/0.001973, allocations: 103.8 kB / 16.41 MB, free: 6.457 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.002136/0.002137, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.494/2.494, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.045, allocations: 151.6 MB / 1.167 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01473/1.06, allocations: 10.91 MB / 1.178 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01498/1.075, allocations: 8.799 MB / 1.187 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/1.077, allocations: 55.69 kB / 1.187 GB, free: 156 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005277/1.082, allocations: 1.68 MB / 1.188 GB, free: 14.47 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006056/1.088, allocations: 1.566 MB / 1.19 GB, free: 12.9 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/1.091, allocations: 0.6756 MB / 1.19 GB, free: 12.22 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004178/1.095, allocations: 2.287 MB / 1.193 GB, free: 9.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002615/1.098, allocations: 1.377 MB / 1.194 GB, free: 8.516 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/1.1, allocations: 1.008 MB / 1.195 GB, free: 7.504 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/1.102, allocations: 1.019 MB / 1.196 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006449/1.103, allocations: 140 kB / 1.196 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/1.105, allocations: 0.7955 MB / 1.197 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009168/1.106, allocations: 0.5725 MB / 1.197 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/1.108, allocations: 0.89 MB / 1.198 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004724/1.113, allocations: 2.554 MB / 1.201 GB, free: 1.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/1.113, allocations: 7.938 kB / 1.201 GB, free: 1.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.565e-06/1.113, allocations: 0 / 1.201 GB, free: 1.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001532/1.113, allocations: 0 / 1.201 GB, free: 1.508 MB / 0.92 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.006349/1.12, allocations: 2.018 MB / 1.203 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.12, allocations: 12.88 kB / 1.203 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/1.131, allocations: 2.054 MB / 1.205 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/1.134, allocations: 1.212 MB / 1.206 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.134, allocations: 86.7 kB / 1.206 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/1.135, allocations: 120.1 kB / 1.206 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006355/1.141, allocations: 2.478 MB / 1.209 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.865e-05/1.141, allocations: 15.84 kB / 1.209 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/1.142, allocations: 47.98 kB / 1.209 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003828/1.142, allocations: 130.1 kB / 1.209 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007368/1.149, allocations: 2.541 MB / 1.211 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/1.166, allocations: 10.02 MB / 1.221 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006178/1.173, allocations: 1.956 MB / 1.223 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/1.175, allocations: 0.9725 MB / 1.224 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/1.175, allocations: 16.38 kB / 1.224 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/1.176, allocations: 39 kB / 1.224 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 3.827e-06/1.176, allocations: 0 / 1.224 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.03236/1.208, allocations: 8.718 MB / 1.232 GB, free: 48 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/1.208, allocations: 64 kB / 1.233 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/1.21, allocations: 1.101 MB / 1.234 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/1.21, allocations: 41.7 kB / 1.234 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/1.211, allocations: 0.7302 MB / 1.234 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/1.211, allocations: 291.9 kB / 1.235 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004552/1.212, allocations: 206.4 kB / 1.235 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.212, allocations: 337.9 kB / 1.235 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/1.215, allocations: 1.079 MB / 1.236 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/1.218, allocations: 1.301 MB / 1.238 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006005/1.224, allocations: 2.378 MB / 1.24 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/1.224, allocations: 7.938 kB / 1.24 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009056/1.233, allocations: 3.273 MB / 1.243 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/1.233, allocations: 12.03 kB / 1.243 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.233, allocations: 8 kB / 1.243 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003068/1.236, allocations: 0.7794 MB / 1.244 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/1.238, allocations: 419.2 kB / 1.244 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/1.255, allocations: 15.92 MB / 1.26 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.258, allocations: 291.5 kB / 1.26 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/1.258, allocations: 47.97 kB / 1.26 GB, free: 2.355 MB / 0.9825 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.0009239/1.259, allocations: 398.1 kB / 1.26 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/1.259, allocations: 142.3 kB / 1.261 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008976/1.268, allocations: 3.202 MB / 1.264 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.268, allocations: 15.94 kB / 1.264 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.268, allocations: 8 kB / 1.264 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.268, allocations: 3.984 kB / 1.264 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.281, allocations: 4.898 MB / 1.269 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/1.281, allocations: 3.938 kB / 1.269 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.283, allocations: 351.4 kB / 1.269 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/1.285, allocations: 0.7099 MB / 1.27 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.285, allocations: 35.95 kB / 1.27 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/1.302, allocations: 15.52 MB / 1.285 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.036e-06/1.302, allocations: 7.938 kB / 1.285 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008427/1.311, allocations: 3.047 MB / 1.288 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.312, allocations: 379.2 kB / 1.288 GB, free: 4.234 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/1.312, allocations: 20 kB / 1.288 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.314, allocations: 295.4 kB / 1.288 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.314, allocations: 80.5 kB / 1.288 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.315, allocations: 35.95 kB / 1.289 GB, free: 3.812 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00117/1.316, allocations: 0.7366 MB / 1.289 GB, free: 3.074 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.316, allocations: 0 / 1.289 GB, free: 3.074 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001802/1.318, allocations: 432 kB / 1.29 GB, free: 2.652 MB / 1.014 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.0002907/1.318, allocations: 135 kB / 1.29 GB, free: 2.512 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008683/1.327, allocations: 3.637 MB / 1.293 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.327, allocations: 0 / 1.293 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.005335/1.332, allocations: 2.368 MB / 1.296 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.335, allocations: 0.523 MB / 1.296 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008926/1.344, allocations: 3.533 MB / 1.3 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/1.345, allocations: 1.388 MB / 1.301 GB, free: 6.785 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/1.346, allocations: 127.3 kB / 1.301 GB, free: 6.66 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/1.346, allocations: 3.938 kB / 1.301 GB, free: 6.656 MB / 1.029 GB Notification: Performance of Templates: time 0.08201/1.428, allocations: 75.1 MB / 1.374 GB, free: 11.63 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches