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.001935/0.001935, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002768/0.002768, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.651/1.651, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.999/2.999, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 71.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8578, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.02541/0.8833, allocations: 10.9 MB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02596/0.9093, allocations: 8.795 MB / 1.037 GB, free: 14.87 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.9118, allocations: 55.69 kB / 1.037 GB, free: 14.81 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.007969/0.9198, allocations: 1.672 MB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009008/0.9288, allocations: 1.539 MB / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.9325, allocations: 0.6716 MB / 1.04 GB, free: 10.92 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005289/0.9378, allocations: 2.267 MB / 1.043 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.9411, allocations: 1.389 MB / 1.044 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.9442, allocations: 0.9809 MB / 1.045 GB, free: 6.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.948, allocations: 1.016 MB / 1.046 GB, free: 5.219 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000535/0.9485, allocations: 140 kB / 1.046 GB, free: 5.082 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.952, allocations: 0.8033 MB / 1.047 GB, free: 4.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.9531, allocations: 0.5686 MB / 1.047 GB, free: 3.707 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.9553, allocations: 0.8784 MB / 1.048 GB, free: 2.824 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.9609, allocations: 2.535 MB / 1.051 GB, free: 288 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.9609, allocations: 0 / 1.051 GB, free: 288 kB / 0.795 GB Notification: Performance of FrontEnd: time 5.39e-06/0.961, allocations: 0 / 1.051 GB, free: 288 kB / 0.795 GB Notification: Performance of Transformations before backend: time 2.312e-05/0.961, allocations: 3.938 kB / 1.051 GB, free: 284 kB / 0.795 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.005996/0.967, allocations: 2.018 MB / 1.053 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.9671, allocations: 15.98 kB / 1.053 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.9806, allocations: 2.05 MB / 1.055 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.9833, allocations: 1.126 MB / 1.056 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.42e-05/0.9834, allocations: 86.62 kB / 1.056 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/0.9837, allocations: 124 kB / 1.056 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005839/0.9895, allocations: 2.478 MB / 1.058 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.9896, allocations: 11.92 kB / 1.058 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.9898, allocations: 55.98 kB / 1.058 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003587/0.9901, allocations: 126.1 kB / 1.059 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007607/0.9977, allocations: 2.537 MB / 1.061 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/1.014, allocations: 10.07 MB / 1.071 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/1.02, allocations: 1.956 MB / 1.073 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003002/1.023, allocations: 0.971 MB / 1.074 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/1.023, allocations: 12.42 kB / 1.074 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/1.023, allocations: 39 kB / 1.074 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.875e-06/1.023, allocations: 0 / 1.074 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.0334/1.057, allocations: 8.714 MB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/1.057, allocations: 60.06 kB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/1.059, allocations: 1.101 MB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/1.059, allocations: 41.7 kB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/1.059, allocations: 0.7378 MB / 1.084 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/1.06, allocations: 276 kB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/1.06, allocations: 202.4 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.06, allocations: 345.9 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.064, allocations: 1.067 MB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003344/1.067, allocations: 1.305 MB / 1.087 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006485/1.073, allocations: 2.382 MB / 1.09 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/1.073, allocations: 0 / 1.09 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009407/1.083, allocations: 3.276 MB / 1.093 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/1.083, allocations: 13.81 kB / 1.093 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.083, allocations: 8 kB / 1.093 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/1.086, allocations: 0.7996 MB / 1.094 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/1.088, allocations: 419.2 kB / 1.094 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/1.107, allocations: 15.92 MB / 1.11 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/1.109, allocations: 291.6 kB / 1.11 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/1.109, allocations: 51.97 kB / 1.11 GB, free: 1.148 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 (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.0008788/1.11, allocations: 393.5 kB / 1.11 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/1.11, allocations: 154.2 kB / 1.11 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009454/1.12, allocations: 3.202 MB / 1.114 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.12, allocations: 11.94 kB / 1.114 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/1.12, allocations: 8 kB / 1.114 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.12, allocations: 3.984 kB / 1.114 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.132, allocations: 4.893 MB / 1.118 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/1.132, allocations: 11.94 kB / 1.118 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.134, allocations: 359.7 kB / 1.119 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/1.137, allocations: 0.7135 MB / 1.119 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.137, allocations: 31.95 kB / 1.119 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/1.155, allocations: 15.54 MB / 1.135 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.155, allocations: 0 / 1.135 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008834/1.164, allocations: 3.046 MB / 1.138 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/1.165, allocations: 379.2 kB / 1.138 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/1.165, allocations: 15.98 kB / 1.138 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.167, allocations: 299.4 kB / 1.138 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/1.167, allocations: 76.5 kB / 1.138 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.167, allocations: 39.97 kB / 1.138 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001105/1.168, allocations: 0.7366 MB / 1.139 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/1.168, allocations: 4 kB / 1.139 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001507/1.17, allocations: 428 kB / 1.14 GB, free: 1.426 MB / 0.8887 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.0002771/1.17, allocations: 139.6 kB / 1.14 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009392/1.179, allocations: 3.754 MB / 1.143 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.18, allocations: 4 kB / 1.143 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005395/1.185, allocations: 2.368 MB / 1.146 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/1.187, allocations: 0.519 MB / 1.146 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008048/1.195, allocations: 3.471 MB / 1.15 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.197, allocations: 1.388 MB / 1.151 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001694/1.198, allocations: 379.9 kB / 1.151 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/1.199, allocations: 111.3 kB / 1.151 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of SimCode: time 8.21e-07/1.199, allocations: 0 / 1.151 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of Templates: time 0.05986/1.259, allocations: 30.24 MB / 1.181 GB, free: 7.191 MB / 0.9356 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=400 -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/jenkins/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