Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 112.9 kB / 16.41 MB, free: 6.492 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.001167/0.001167, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01432/1.064, allocations: 6.735 MB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009921/1.074, allocations: 3.035 MB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/1.075, allocations: 23.44 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004724/1.08, allocations: 0.9454 MB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003109/1.083, allocations: 0.502 MB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/1.086, allocations: 425.4 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004516/1.09, allocations: 1.223 MB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/1.093, allocations: 0.6646 MB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/1.095, allocations: 474.7 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/1.097, allocations: 0.5229 MB / 1.103 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004499/1.097, allocations: 70.27 kB / 1.103 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/1.099, allocations: 379 kB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/1.1, allocations: 302.2 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/1.102, allocations: 447.5 kB / 1.104 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00381/1.106, allocations: 1.213 MB / 1.105 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.106, allocations: 0.6094 kB / 1.105 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.896e-06/1.106, allocations: 3.938 kB / 1.105 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.787e-05/1.106, allocations: 1.344 kB / 1.105 GB, free: 11.59 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004668/1.111, allocations: 1.162 MB / 1.106 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.111, allocations: 9.219 kB / 1.106 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/1.114, allocations: 240 kB / 1.107 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/1.116, allocations: 0.5951 MB / 1.107 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.081e-05/1.116, allocations: 43.03 kB / 1.107 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/1.117, allocations: 66.67 kB / 1.107 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/1.12, allocations: 1.088 MB / 1.108 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.368e-05/1.12, allocations: 10.69 kB / 1.108 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/1.12, allocations: 25.88 kB / 1.108 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003285/1.121, allocations: 85.02 kB / 1.108 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/1.123, allocations: 0.7496 MB / 1.109 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/1.134, allocations: 5.883 MB / 1.115 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/1.137, allocations: 0.5536 MB / 1.115 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/1.138, allocations: 328.4 kB / 1.116 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/1.138, allocations: 9.75 kB / 1.116 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/1.138, allocations: 38.34 kB / 1.116 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 4.308e-06/1.138, allocations: 0 / 1.116 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.007577/1.145, allocations: 1.988 MB / 1.118 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/1.145, allocations: 57.69 kB / 1.118 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.147, allocations: 0.5543 MB / 1.118 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.825e-05/1.147, allocations: 35.08 kB / 1.118 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005027/1.147, allocations: 418.9 kB / 1.119 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/1.148, allocations: 166.7 kB / 1.119 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/1.148, allocations: 128.3 kB / 1.119 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002645/1.148, allocations: 378.1 kB / 1.119 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/1.149, allocations: 275.1 kB / 1.12 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.15, allocations: 494.1 kB / 1.12 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/1.152, allocations: 0.8065 MB / 1.121 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/1.152, allocations: 2.844 kB / 1.121 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003579/1.156, allocations: 1.087 MB / 1.122 GB, free: 208 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/1.156, allocations: 8.688 kB / 1.122 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/1.156, allocations: 14.86 kB / 1.122 GB, free: 200 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/1.158, allocations: 282.1 kB / 1.122 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/1.159, allocations: 125.2 kB / 1.122 GB, free: 96 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/1.172, allocations: 7.128 MB / 1.129 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/1.173, allocations: 39.28 kB / 1.129 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/1.174, allocations: 31.91 kB / 1.129 GB, free: 9.844 MB / 0.8887 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.00122/1.175, allocations: 263.7 kB / 1.13 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/1.175, allocations: 72.14 kB / 1.13 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/1.179, allocations: 0.8866 MB / 1.131 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/1.179, allocations: 9.969 kB / 1.131 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/1.179, allocations: 2.406 kB / 1.131 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/1.179, allocations: 4.234 kB / 1.131 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006649/1.185, allocations: 1.724 MB / 1.132 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.186, allocations: 2.172 kB / 1.132 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/1.186, allocations: 63.97 kB / 1.132 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/1.188, allocations: 270.2 kB / 1.133 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/1.188, allocations: 11.34 kB / 1.133 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/1.202, allocations: 7.117 MB / 1.14 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.202, allocations: 2.078 kB / 1.14 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/1.205, allocations: 0.9867 MB / 1.141 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/1.206, allocations: 185.4 kB / 1.141 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.206, allocations: 12.95 kB / 1.141 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/1.207, allocations: 29.89 kB / 1.141 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.207, allocations: 45.8 kB / 1.141 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/1.207, allocations: 14.66 kB / 1.141 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008804/1.208, allocations: 385.4 kB / 1.141 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.91e-07/1.208, allocations: 1.094 kB / 1.141 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001623/1.21, allocations: 224.7 kB / 1.141 GB, free: 1.117 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002464/1.21, allocations: 118.2 kB / 1.141 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003573/1.214, allocations: 1.273 MB / 1.143 GB, free: 272 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.214, allocations: 1 kB / 1.143 GB, free: 272 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002296/1.216, allocations: 0.8931 MB / 1.144 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/1.218, allocations: 235.9 kB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/1.223, allocations: 1.375 MB / 1.145 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.224, allocations: 1.007 MB / 1.146 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/1.224, allocations: 45.31 kB / 1.146 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of SimCode: time 1.674e-06/1.224, allocations: 1.375 kB / 1.146 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.05409/1.279, allocations: 20.69 MB / 1.166 GB, free: 5.625 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches