Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001395/0.001395, allocations: 104 kB / 16.27 MB, free: 5.98 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.001363/0.001363, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.52/2.52, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 62.69 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2942, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01326/0.3076, allocations: 10.9 MB / 1.075 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5618/0.8694, allocations: 8.787 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.8711, allocations: 57.28 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.875, allocations: 1.671 MB / 1.085 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004548/0.8796, allocations: 1.532 MB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.8816, allocations: 0.6726 MB / 1.087 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.885, allocations: 2.276 MB / 1.09 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.887, allocations: 1.387 MB / 1.091 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.889, allocations: 0.9752 MB / 1.092 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.8907, allocations: 1.02 MB / 1.093 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.891, allocations: 142.2 kB / 1.093 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.893, allocations: 0.7974 MB / 1.094 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006969/0.8937, allocations: 0.5639 MB / 1.094 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009786/0.8947, allocations: 0.887 MB / 1.095 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.8983, allocations: 2.541 MB / 1.098 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8983, allocations: 0 / 1.098 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8983, allocations: 0 / 1.098 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.866e-05/0.8984, allocations: 0 / 1.098 GB, free: 6.426 MB / 0.8419 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.003877/0.9023, allocations: 2.018 MB / 1.1 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9023, allocations: 13.5 kB / 1.1 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.9139, allocations: 2.046 MB / 1.102 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.9166, allocations: 1.125 MB / 1.103 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/0.9167, allocations: 85.77 kB / 1.103 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.9169, allocations: 115.2 kB / 1.103 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005917/0.9229, allocations: 2.487 MB / 1.105 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/0.9229, allocations: 7.047 kB / 1.105 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.9231, allocations: 53.92 kB / 1.105 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003772/0.9235, allocations: 128.5 kB / 1.106 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007525/0.931, allocations: 2.539 MB / 1.108 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.9453, allocations: 10.08 MB / 1.118 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/0.9519, allocations: 1.947 MB / 1.12 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.955, allocations: 0.9784 MB / 1.121 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.9551, allocations: 5.906 kB / 1.121 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.9552, allocations: 38.41 kB / 1.121 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=53): time 2.826e-06/0.9552, allocations: 0 / 1.121 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=81): time 0.03244/0.9876, allocations: 8.709 MB / 1.129 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.9877, allocations: 64.19 kB / 1.129 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.9897, allocations: 1.102 MB / 1.13 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.9899, allocations: 41.23 kB / 1.13 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/0.9905, allocations: 0.7326 MB / 1.131 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.9908, allocations: 282.9 kB / 1.131 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/0.9913, allocations: 198.3 kB / 1.132 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9914, allocations: 348.1 kB / 1.132 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/0.9946, allocations: 1.073 MB / 1.133 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003223/0.9978, allocations: 1.306 MB / 1.134 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006285/1.004, allocations: 2.379 MB / 1.137 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.004, allocations: 2.281 kB / 1.137 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009431/1.014, allocations: 3.277 MB / 1.14 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.014, allocations: 7.688 kB / 1.14 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.014, allocations: 11.41 kB / 1.14 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/1.017, allocations: 0.798 MB / 1.141 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.019, allocations: 413.1 kB / 1.141 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/1.035, allocations: 15.94 MB / 1.157 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.037, allocations: 291.5 kB / 1.157 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/1.038, allocations: 53.8 kB / 1.157 GB, free: 1.805 MB / 0.8731 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.001085/1.039, allocations: 400 kB / 1.157 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/1.039, allocations: 150 kB / 1.157 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009275/1.049, allocations: 3.198 MB / 1.161 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.049, allocations: 7.594 kB / 1.161 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/1.049, allocations: 11.69 kB / 1.161 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/1.049, allocations: 5.047 kB / 1.161 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.061, allocations: 4.912 MB / 1.165 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.061, allocations: 3.281 kB / 1.165 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.062, allocations: 353.3 kB / 1.166 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/1.065, allocations: 0.7089 MB / 1.166 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.065, allocations: 31.97 kB / 1.166 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/1.08, allocations: 15.53 MB / 1.182 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.08, allocations: 7.969 kB / 1.182 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008573/1.088, allocations: 3.049 MB / 1.185 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.089, allocations: 383.1 kB / 1.185 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/1.09, allocations: 16 kB / 1.185 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.092, allocations: 295.5 kB / 1.185 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/1.093, allocations: 84.42 kB / 1.185 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.093, allocations: 35.97 kB / 1.185 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00127/1.094, allocations: 0.7327 MB / 1.186 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.503e-06/1.094, allocations: 0 / 1.186 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002029/1.096, allocations: 435.9 kB / 1.186 GB, free: 7.473 MB / 0.9044 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.0002948/1.096, allocations: 135.1 kB / 1.187 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008955/1.105, allocations: 3.758 MB / 1.19 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.105, allocations: 3.938 kB / 1.19 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005033/1.11, allocations: 2.367 MB / 1.193 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/1.114, allocations: 0.5145 MB / 1.193 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008998/1.123, allocations: 3.588 MB / 1.197 GB, free: 12.84 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.124, allocations: 1.388 MB / 1.198 GB, free: 11.42 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00069/1.125, allocations: 131.3 kB / 1.198 GB, free: 11.29 MB / 0.92 GB Notification: Performance of SimCode: time 1.262e-06/1.125, allocations: 0 / 1.198 GB, free: 11.29 MB / 0.92 GB Notification: Performance of Templates: time 0.07374/1.198, allocations: 74.96 MB / 1.271 GB, free: 400 kB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches