Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001246/0.001246, allocations: 108.5 kB / 15.99 MB, free: 6.348 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.001197/0.001198, allocations: 193.5 kB / 16.91 MB, free: 6.188 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.298/1.298, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 60.59 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3082, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008655/0.3169, allocations: 6.739 MB / 1.071 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00493/0.3219, allocations: 3.017 MB / 1.074 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004004/0.3223, allocations: 27.81 kB / 1.074 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.3247, allocations: 0.8814 MB / 1.075 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.3258, allocations: 481.7 kB / 1.075 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009394/0.3267, allocations: 390.1 kB / 1.075 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.328, allocations: 1.224 MB / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009721/0.329, allocations: 0.7367 MB / 1.077 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.3295, allocations: 482.2 kB / 1.078 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006258/0.3302, allocations: 0.5293 MB / 1.078 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.494e-05/0.3303, allocations: 71.94 kB / 1.078 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.3309, allocations: 379.3 kB / 1.079 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.4658/0.7967, allocations: 305.4 kB / 1.079 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006403/0.7974, allocations: 444.6 kB / 1.079 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.7987, allocations: 0.9409 MB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7988, allocations: 0 / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7988, allocations: 1.219 kB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.7988, allocations: 0 / 1.08 GB, free: 12.02 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001713/0.8005, allocations: 1.163 MB / 1.081 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.8006, allocations: 9.5 kB / 1.081 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.802, allocations: 240.4 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.8028, allocations: 0.5388 MB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.8028, allocations: 49.38 kB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.803, allocations: 62.62 kB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.8045, allocations: 1.085 MB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.8045, allocations: 16.06 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.8046, allocations: 32.61 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.8047, allocations: 82.3 kB / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.8059, allocations: 0.7545 MB / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.8103, allocations: 5.889 MB / 1.09 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.8113, allocations: 0.5596 MB / 1.091 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.8117, allocations: 327 kB / 1.091 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.8118, allocations: 5.203 kB / 1.091 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.8118, allocations: 38.41 kB / 1.091 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.8118, allocations: 0 / 1.091 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003607/0.8154, allocations: 1.99 MB / 1.093 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.8155, allocations: 57.19 kB / 1.093 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.8161, allocations: 0.5522 MB / 1.093 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.8161, allocations: 35.7 kB / 1.093 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.8163, allocations: 420.8 kB / 1.094 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.8164, allocations: 166.9 kB / 1.094 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.8166, allocations: 128.6 kB / 1.094 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.8167, allocations: 378.5 kB / 1.095 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.8172, allocations: 270.5 kB / 1.095 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.8177, allocations: 499.4 kB / 1.095 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/0.8186, allocations: 0.8099 MB / 1.096 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8187, allocations: 6.562 kB / 1.096 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001762/0.8204, allocations: 1.084 MB / 1.097 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.8204, allocations: 7 kB / 1.097 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8205, allocations: 12.45 kB / 1.097 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008401/0.8213, allocations: 275.3 kB / 1.097 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.8218, allocations: 128.2 kB / 1.098 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/0.8282, allocations: 7.142 MB / 1.105 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.8289, allocations: 40.02 kB / 1.105 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.829, allocations: 32.75 kB / 1.105 GB, free: 12.62 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 (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.0004396/0.8294, allocations: 250.2 kB / 1.105 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.8295, allocations: 76.06 kB / 1.105 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.8312, allocations: 0.8866 MB / 1.106 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.8312, allocations: 8.562 kB / 1.106 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8312, allocations: 3.344 kB / 1.106 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.8313, allocations: 4.094 kB / 1.106 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.8341, allocations: 1.725 MB / 1.107 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8341, allocations: 1.094 kB / 1.107 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.8344, allocations: 63.52 kB / 1.108 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007935/0.8352, allocations: 271.7 kB / 1.108 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.8352, allocations: 10.81 kB / 1.108 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007404/0.8426, allocations: 7.138 MB / 1.115 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.8427, allocations: 1.406 kB / 1.115 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.8446, allocations: 0.9824 MB / 1.116 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.845, allocations: 190.1 kB / 1.116 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.8451, allocations: 12.84 kB / 1.116 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.8456, allocations: 25.59 kB / 1.116 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.8457, allocations: 53.38 kB / 1.116 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.8457, allocations: 14.88 kB / 1.116 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005278/0.8463, allocations: 381.6 kB / 1.116 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8463, allocations: 0 / 1.116 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009596/0.8472, allocations: 225.4 kB / 1.117 GB, free: 4.016 MB / 0.8575 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.000176/0.8474, allocations: 120.2 kB / 1.117 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.8498, allocations: 1.332 MB / 1.118 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.8498, allocations: 6.656 kB / 1.118 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.8512, allocations: 0.888 MB / 1.119 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.8523, allocations: 212.2 kB / 1.119 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.8551, allocations: 1.699 MB / 1.121 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.856, allocations: 1.016 MB / 1.122 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.8562, allocations: 45.42 kB / 1.122 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of SimCode: time 6.61e-07/0.8562, allocations: 0 / 1.122 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of Templates: time 0.03045/0.8867, allocations: 20.64 MB / 1.142 GB, free: 10.83 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches